In this example I get the ruby-version of my projects.
tail -n +1 */.ruby-version
Which results in the following output
==> project1/.ruby-version <==
2.5.1
==> project2/.ruby-version <==
3.0.0
==> project3/.ruby-version <==
2.7.2
There are 2 posts tagged shell-script (this is page 1 of 1).
In this example I get the ruby-version of my projects.
tail -n +1 */.ruby-version
Which results in the following output
==> project1/.ruby-version <==
2.5.1
==> project2/.ruby-version <==
3.0.0
==> project3/.ruby-version <==
2.7.2
find . \( -name ".DS_Store" -or -name ".Trashes" -or -name "._*" -or -name ".TemporaryItems" \) -print
Check if the print is correct. When the file can be deleted. replace '-print' with '-delete'
Prevent ._ file creation (samba config)
[share-name]
veto files = /._*/.DS_Store/
delete veto files = yes