Deutsch English Français Italiano |
<ld0qdgF6hcmU1@mid.individual.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Carlos E. R." <robin_listas@es.invalid> Newsgroups: comp.os.linux.misc Subject: Re: tar problem Date: Thu, 13 Jun 2024 20:00:16 +0200 Lines: 28 Message-ID: <ld0qdgF6hcmU1@mid.individual.net> References: <v44em0$3i8j8$1@dont-email.me> <wwvo78auj35.fsf@LkoBDZeT.terraraq.uk> <F_OdnckCE_opY_j7nZ2dnZfqn_udnZ2d@giganews.com> <v46oc6$dn9v$1@dont-email.me> <v46ruq$etuo$1@dont-email.me> <lcp7qiF3bnqU2@mid.individual.net> <v47v3e$etuo$2@dont-email.me> <lcpeisF3bnrU1@mid.individual.net> <v492gj$vdjv$1@dont-email.me> <v4a08d$1573l$1@dont-email.me> <v4c4sj$1ld54$2@dont-email.me> <ygar0d2qf6z.fsf@akutech.de> <wwvikyeq8eh.fsf@LkoBDZeT.terraraq.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net 6jJ+PGts3OJpv7hm5YxrqQxkDzQrE6qXU0hVASLFiC38Ij2jEW Cancel-Lock: sha1:uce/3wHvofQWjIBLMGplqMrjxjU= sha256:G2wTrhd3qMKYfUbI5wRPMuedfh/Do7sEiq7K9bK19Co= User-Agent: Mozilla Thunderbird Content-Language: en-US In-Reply-To: <wwvikyeq8eh.fsf@LkoBDZeT.terraraq.uk> Bytes: 2002 On 2024-06-12 21:16, Richard Kettlewell 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. Thus it is not obeying the -x in bash. > > Presumably the script they are actually running is different. Yes. -- Cheers, Carlos E.R.