My notepad

Chris' IT notes…
← Back

Backup Linux file/dir permissions

sh
find /source/path/ -type d -exec ls -la '{}' \; > file_list
find /source/path/ -type d -exec ls -ld '{}' \; > dironly_list
find /source/path/ -type f -exec ls -l '{}' \; > filesonly_list