[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tar question



On Sun, Jan 06, 2002 at 12:26:58PM -0500, Stan Brown wrote:
| How can I get tar to backup my entire machine to a file in /tmp with
| causing recursion?

tar -zcvf /tmp/backup.tar.gz /[^t]*

tar acts recursively automatically, but it is bad to try and include
the directory you are writing the tar file to (it tries to include it,
and it bombs out).

-D

-- 

"He is no fool who gives up what he cannot keep to gain what he cannot lose."
        --Jim Elliot



Reply to: