PDA

View Full Version : [ubuntu] batch processing



jrev
December 18th, 2010, 08:27 AM
Hello,

I have on a USB key a number of files to convert to read/write permission.

I do for each file
chmod 777 file_name

How can I process all files in one command ?

Hope you get my point
Thanks

Verbeck
December 18th, 2010, 08:29 AM
just use recursive


chmod -R 777 /directory/name

jrev
December 18th, 2010, 09:09 AM
As I cannot name all folders I had to type
# chmod -Rv 777 /directory/*

Thanks for your answer