Say you are making a tarball of 2 files and you accidentally type the
tar zcvf /path/to/file /path/to/file2
tar zcvf tarredfiles.tar.gz /path/to/file /path/to/file2
I noticed it as soon as it kicked off, and CTRL-C'd the command. I am
now left with a zero length file, is it possible to retrieve the
contents of the original file (/path/to/file)?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!