Re: tar problem

Liste des GroupesRevenir à col misc 
Sujet : Re: tar problem
De : heller (at) *nospam* deepsoft.com (Robert Heller)
Groupes : comp.os.linux.misc
Date : 12. Jun 2024, 22:08:37
Autres entêtes
Organisation : Deepwoods Software
Message-ID : <VoicnQSLGKrIk_f7nZ2dnZfqn_qdnZ2d@giganews.com>
References : 1 2 3 4 5 6
User-Agent : TkNews 3.0 (1.2.17)
At Wed, 12 Jun 2024 20:16:06 +0100 Richard Kettlewell <invalid@invalid.invalid> wrote:

 
Ralf Fassel <ralfixx@gmx.de> writes:
* db <dieterhansbritz@gmail.com>
| ~/bin> tarx ../tarfiles/NumNotes       
| tar (child): ../tarfiles/NumNotes: Cannot open: No such file or directory
--<snip-snip>--
| ~/bin> ls ../tarfiles/Num*
| ../tarfiles/NumNotes.tar.gz
>
| The last line proves that it's lying.
>
Why do you expect that if you tell tar to use a file named 'NumNotes'
that it should use a file named 'NumNotes.tar.gz' instead?
 
The script they quoted does "tar -xf $1.tar.gz", i.e. it adds .tar.gz.
 
Presumably the script they are actually running is different.
 

Wondering: is there a space after "$1" (eg between that and the dot). Also: is
the script file a purely ASCII text file or does it contain UTF-8 characters --
is the dot really an ASCII period character or something else that "looks"
like a period. Bash won't like it if it is not an ASCII period and won't like
white space where it does not belong. Note the lack of "#!/bin/bash" at the
start of the file could also be causing problems.

--
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller@deepsoft.com       -- Webhosting Services
                                                                                              

Date Sujet#  Auteur
9 Jun 24 * tar problem40db
9 Jun 24 +- Re: tar problem1Marco Moock
9 Jun 24 +- Re: tar problem1Lew Pitcher
9 Jun 24 +* Re: tar problem18Richard Kettlewell
9 Jun 24 i`* Re: tar problem17Robert Heller
10 Jun 24 i +* Re: tar problem15db
10 Jun 24 i i`* Re: tar problem14Lew Pitcher
10 Jun 24 i i `* Re: tar problem13Carlos E. R.
11 Jun 24 i i  `* Re: tar problem12Lew Pitcher
11 Jun 24 i i   `* Re: tar problem11Carlos E. R.
11 Jun 24 i i    `* Re: tar problem10db
11 Jun 24 i i     `* Re: tar problem9Rich
11 Jun 24 i i      +- Re: tar problem1Lew Pitcher
12 Jun 24 i i      `* Re: tar problem7db
12 Jun 24 i i       `* Re: tar problem6Ralf Fassel
12 Jun 24 i i        `* Re: tar problem5Richard Kettlewell
12 Jun 24 i i         +* Re: tar problem2Robert Heller
13 Jun 24 i i         i`- Re: tar problem1Richard Kettlewell
13 Jun 24 i i         +- Re: tar problem1Ralf Fassel
13 Jun 24 i i         `- Re: tar problem1Carlos E. R.
12 Jun 24 i `- Re: tar problem1candycanearter07
11 Jun 24 +* Re: tar problem3Lew Pitcher
11 Jun 24 i+- Re: tar problem1Carlos E. R.
12 Jun 24 i`- Re: tar problem1db
12 Jun 24 +* Re: tar problem2Marc Olschok
12 Jun 24 i`- Re: tar problem1Robert Heller
12 Jun 24 +- Re: tar problem1marrgol
14 Jun 24 `* Re: tar problem13db
14 Jun 24  `* Re: tar problem12Lew Pitcher
14 Jun 24   `* Path and/or alias finding11Carlos E.R.
14 Jun 24    +* Re: Path and/or alias finding7Robert Heller
14 Jun 24    i+- Re: Path and/or alias finding1Carlos E.R.
14 Jun 24    i+* Re: Path and/or alias finding4Lew Pitcher
14 Jun 24    ii+- Re: Path and/or alias finding1Lew Pitcher
14 Jun 24    ii+- Re: Path and/or alias finding1Carlos E.R.
31 Jul 24    ii`- Re: Path and/or alias finding1Lawrence D'Oliveiro
31 Jul 24    i`- Re: Path and/or alias finding1Lawrence D'Oliveiro
14 Jun 24    `* Re: Path and/or alias finding3John-Paul Stewart
14 Jun 24     `* Re: Path and/or alias finding2Carlos E.R.
31 Jul 24      `- Re: Path and/or alias finding1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal