Conversation
Notices
-
I have a directory tree containing files and I need to recursively chmod only a certain filetype to 644. Help? !ubuntu
-
@colindean please explain filetype: defined by contents or by name termination ?
-
@hgfernan filename, .mp3. I know I need to use something like find . | grep mp3 | xargs chmod 644
-
@colindean "man find" is your friend: find . -name \*mp3 -exec chmod +644 '{} ' \;
-
@colindean Mommy, I found it! — 15 Practical Linux Find Command Examples http://bit.ly/a2f601 all about #find
-
@colindean: man find
-
@hgfernan thanks. no man pages on the system I was on, didn't think to use the 'net, haha
-
@hgfernan Hmm. It's not working. I'm in Busybox, btw. When I run that, Busybox yells at me.
-
@hgfernan why thank you. and thank you for helping me out. linux and osx see the files just fine, but windows borks on 777 apparently
-
@colindean try: find ./ -name *.xxx -exec chmod -R 644 {} \;
-