Help with the Linux ls command....
Posted: 2004-07-07 01:18am
I don't know if this is possible but here is goes:
I want to run this command: ls -laR /
I'd like to search each directory at / except for one.
For example we have: /var
/etc
/tmp
/flash
/shares
I would like to get the output of the recursive search for every directory but /shares. Does anyone know if there is a way to exclude a directory?
I want to run this command: ls -laR /
I'd like to search each directory at / except for one.
For example we have: /var
/etc
/tmp
/flash
/shares
I would like to get the output of the recursive search for every directory but /shares. Does anyone know if there is a way to exclude a directory?