Liste des Groupes | Revenir à col misc |
I like to make life easy so I wrote a one-line script
for extracting the contents of a tar file. I copied it
into the /bin directory so I can run it from anywhere.
I tried it out in a test directory where I had it, and
where there is a small test tar file. Here is the dialogue
from running it, using both the local script and the one
in /bin:
~/tartest> ls
tarx test.tar.gz
~/tartest> cat tarx
tar -xf $1.tar.gz
~/tartest> cat ~/bin/tarx
tar -xf $1.tar.gz
~/tartest> ./tarx test
~/tartest> ls
tarx test test.tar.gz
~/tartest> del -r test
~/tartest> tarx test
tar (child): test: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Why doesn't it work from bin/ ?
Date | Sujet | # | Auteur | |
9 Jun 24 | tar problem | 40 | db | |
9 Jun 24 | Re: tar problem | 1 | Marco Moock | |
9 Jun 24 | Re: tar problem | 1 | Lew Pitcher | |
9 Jun 24 | Re: tar problem | 18 | Richard Kettlewell | |
9 Jun 24 | Re: tar problem | 17 | Robert Heller | |
10 Jun 24 | Re: tar problem | 15 | db | |
10 Jun 24 | Re: tar problem | 14 | Lew Pitcher | |
10 Jun 24 | Re: tar problem | 13 | Carlos E. R. | |
11 Jun 24 | Re: tar problem | 12 | Lew Pitcher | |
11 Jun 24 | Re: tar problem | 11 | Carlos E. R. | |
11 Jun 24 | Re: tar problem | 10 | db | |
11 Jun 24 | Re: tar problem | 9 | Rich | |
11 Jun 24 | Re: tar problem | 1 | Lew Pitcher | |
12 Jun 24 | Re: tar problem | 7 | db | |
12 Jun 24 | Re: tar problem | 6 | Ralf Fassel | |
12 Jun 24 | Re: tar problem | 5 | Richard Kettlewell | |
12 Jun 24 | Re: tar problem | 2 | Robert Heller | |
13 Jun 24 | Re: tar problem | 1 | Richard Kettlewell | |
13 Jun 24 | Re: tar problem | 1 | Ralf Fassel | |
13 Jun 24 | Re: tar problem | 1 | Carlos E. R. | |
12 Jun 24 | Re: tar problem | 1 | candycanearter07 | |
11 Jun 24 | Re: tar problem | 3 | Lew Pitcher | |
11 Jun 24 | Re: tar problem | 1 | Carlos E. R. | |
12 Jun 24 | Re: tar problem | 1 | db | |
12 Jun 24 | Re: tar problem | 2 | Marc Olschok | |
12 Jun 24 | Re: tar problem | 1 | Robert Heller | |
12 Jun 24 | Re: tar problem | 1 | marrgol | |
14 Jun 24 | Re: tar problem | 13 | db | |
14 Jun 24 | Re: tar problem | 12 | Lew Pitcher | |
14 Jun 24 | Path and/or alias finding | 11 | Carlos E.R. | |
14 Jun 24 | Re: Path and/or alias finding | 7 | Robert Heller | |
14 Jun 24 | Re: Path and/or alias finding | 1 | Carlos E.R. | |
14 Jun 24 | Re: Path and/or alias finding | 4 | Lew Pitcher | |
14 Jun 24 | Re: Path and/or alias finding | 1 | Lew Pitcher | |
14 Jun 24 | Re: Path and/or alias finding | 1 | Carlos E.R. | |
31 Jul 24 | Re: Path and/or alias finding | 1 | Lawrence D'Oliveiro | |
31 Jul 24 | Re: Path and/or alias finding | 1 | Lawrence D'Oliveiro | |
14 Jun 24 | Re: Path and/or alias finding | 3 | John-Paul Stewart | |
14 Jun 24 | Re: Path and/or alias finding | 2 | Carlos E.R. | |
31 Jul 24 | Re: Path and/or alias finding | 1 | Lawrence D'Oliveiro |
Les messages affichés proviennent d'usenet.