Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #56518
| From | Fritz Wuehler <fritz@spamexpire-202406.rodent.frell.theremailer.net> |
|---|---|
| Subject | Re: tar problem |
| References | <v44em0i8j8@dont-email.me> |
| Message-ID | <5410f8ada88f68a2209418243114e08b@msgid.frell.theremailer.net> (permalink) |
| Date | 2024-06-10 02:29 +0200 |
| Newsgroups | comp.os.linux.misc |
| Organization | dizum.com - The Internet Problem Provider |
db <dieterhansbr...@gmail.com> [d]: d> Why doesn't it work from bin/ ? First check whether ~/bin is part of your $PATH environment variable: $ echo "$PATH" | tr : '\n' | grep "$HOME"/bin | grep . && echo OK Then check whether the script has its execute bit set: $ find "$HOME/bin/tarx" -perm /u+x | grep . && echo OK Then replace the contents of your script with the following more resilient version: #!/bin/sh [ -r "$1".tar.gz ] && tar -xf "$1".tar.gz
Back to comp.os.linux.misc | Previous | Next | Find similar
Re: tar problem Fritz Wuehler <fritz@spamexpire-202406.rodent.frell.theremailer.net> - 2024-06-10 02:29 +0200
csiph-web