ssh command

hi to you all,

Is it possible to change all subfolder's permission to 755 and all the files' permission (regardless of its filetype) t0 644 in 1 command? if so what would be the complete command for this ?

i tried chmod -R permission /folder -- but if will give all the files and subfolders the same permission...

anticipating for your help...

thanks

This is kind of long but how about find

ssh find /path -type d -exec chmod 775 {} \; && find /path -type f -exec chmod 644 {} \;

thanks alot ...jim mcnamara

what a relief...

by the way,

do you happen to know a tutorial about ssh command of those kinds ?

i've been looking for sort of a multiple complex ssh command tutorial but i'm still unlucky...

hope someone can help.