For example, right now I’m using the following to change a couple of files whose Unix paths I wrote to a file:

cat file.txt | while read in; do chmod 755 "$in"; done

Is there a more elegant, safer way?

9 Answers
9

Leave a Reply

Your email address will not be published. Required fields are marked *