As much a reminder to myself as to help others who may encounter the
same issues:

_*Recursively_chmod_directories_only*_: This will recursively search
your directory tree (starting at dir 'dot') and chmod 755 all
directories only.
Code:
--------------------
    find . -type d -exec chmod 755 {} \;
--------------------


If your directories have spaces ' ' in them, then use the following
instead:
Code:
--------------------
    find . -type d -exec chmod 755 \"{}\" \;
--------------------


_*For_changing_only_files_matching_specific_extension:*_
Code:
--------------------
    find ./ -name *.flac -exec chmod 755 {} \;
--------------------


-- 
audiomuze

*If you want continued support for Customscan and Custombrowse plugins,
vote for 'Bug #6023 -  New plugin hooks to implement scanning functions'
(https://bugs.slimdevices.com/show_bug.cgi?id=6023) and let Plugin
developers do what Logitech won't.*
------------------------------------------------------------------------
audiomuze's Profile: http://forums.slimdevices.com/member.php?userid=33613
View this thread: http://forums.slimdevices.com/showthread.php?t=73673

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to