I have a need to backup an extremely deep directory tree, but do NOT want any of the files within it..
This is what I came up with, but is painfully slow: find . -type f -print | sed -e 's|^\.\/||g' > FILELIST.TXT tar --exclude-from=FILELIST.TXT -czvf dirtree.tar.gz * When I tried tar --exclude="*" I get the cowardly refusing to create empty archive message... Seems as if there must be a better way than this, any suggestions? Thanks in advance! ----------------------------------- Jeremy Warren Sr. Systems Programmer KB Toy Stores mailto:[EMAIL PROTECTED]@kbtoys.com ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
