Email address obfuscation in effect -- please
click here to turn it off.
[Date Prev][
Date Next][Thread Prev][
Thread Next][
Date Index][
Thread Index]
- To: MLUG Members <EMAIL:PROTECTED>
- Subject: Re: [MLUG] tar no destruct?
- From: Jason <EMAIL:PROTECTED>
- Date: Mon, 01 Mar 2004 00:08:48 -0600
- In-reply-to: <EMAIL:PROTECTED>
- References: <EMAIL:PROTECTED><EMAIL:PROTECTED>
- Reply-to: MLUG Members <EMAIL:PROTECTED>
- Sender: EMAIL:PROTECTED
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US;rv:1.6) Gecko/20040122 Debian/1.6-1
Hehe, I completely skipped that one, thinking it was for keeping tar
from clobbering files when you extracted an archive, but I just tested
it, and it keeps you from clobbering an archive when creating one that
already exists, too.
The only problem is that it just immediately returns, with no messages
or anything, so you may think you've backed something up, and it didn't
happen because the archive already was there.
Jeremy Hinegardner wrote:
>>>>>>"Michael" == Michael <EMAIL:PROTECTED> writes:
>
>
> Michael> Is there an option for using tar so you can't accidently
> Michael> overwrite an existing tar file when creating a new one? I just
> Michael> made that mistake and lost 600+MB of data I hadn't yet had the
> Michael> chance to sort through. I can't remember such a feature and
> Michael> don't see it in the manual but it seems an obvious feature I'd
> Michael> expect to exist.
>
> This may only be an option on gnu tar, but that should suffice for Linux.
>
> -k, --keep-old-files
> keep existing files; don't overwrite them from archive
>
> enjoy,
>
> -jeremy
>
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members