On Thu, 20 Sep 2012 16:13:08 +0200, Alan McKinnon wrote:

> On the archive:
> 
> find /root/of/dir/structure -type d > dirs.txt
> find /root/of/dir/structure -type f > files.txt

This will add '/root/of/dir/structure' to the start of each path. would
it be better to do?

cd /root/of/dir/structure
find -type d > ../dirs.txt
find -type f > ../files.txt


-- 
Neil Bothwick

All generalizations are false.

Attachment: signature.asc
Description: PGP signature

Reply via email to