Quote:
Originally posted by oombera
I omitted the if/fi code because it seemed redundant. Any files 'ls /root/direc' finds obviously exist...
There might be subdirectories that would be skipped by a -f test. Or named pipes, sockets, special files, ....