Timeline for tar: Exiting with failure status due to previous errors
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 29, 2015 at 19:17 | review | Late answers | |||
Oct 8, 2015 at 18:39 | |||||
Mar 15, 2015 at 5:15 | comment | added | Jim Michaels | I also had problems, but it was a file with the name -v so apparently tar has some bugs with regards to what files it can backup... this should not be a problem. my workaround since rm and mv would not work, was to use a file manager. so apparently mv and rm are buggy too. i tried mv '-v' v and rm '-v' but got error messages. tar mentioned it could not stat the tar file. was using -cfjv | |
May 29, 2014 at 13:46 | comment | added | cwallenpoole | @pabouk That comment seemed worthy of being an answer by itself. Please add the contents of that comment as an answer to this question so that credit goes where credit is due. | |
Oct 19, 2013 at 12:42 | comment | added | pabouk - Ukraine stay strong | See the GNU tar documentation and also for example Tru64 UNIX tar man page. | |
Oct 19, 2013 at 12:40 | comment | added | pabouk - Ukraine stay strong |
You probably tested this with GNU tar. Your confusion comes from the fact that it accepts two different styles of options - the "old-style" tar options without a dash and the "standard unix" options with a dash. The options with dash require an argument of an option to follow the option. So in this case the argument for -f should be output.tar.gz and there must not be z in between. Without re-ordering of the options it would correctly be: tar -cvf output.tar.gz -z folder/ . The old style expects all the options in one place and all the arguments follow.
|
|
S Dec 31, 2011 at 13:11 | history | suggested | Tak | CC BY-SA 3.0 |
corrected typo
|
Dec 31, 2011 at 11:35 | review | Suggested edits | |||
S Dec 31, 2011 at 13:11 | |||||
Sep 10, 2011 at 23:26 | history | edited | Simon Sheehan | CC BY-SA 3.0 |
deleted 21 characters in body
|
Sep 10, 2011 at 23:06 | history | answered | jack | CC BY-SA 3.0 |