![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to get BASH to interpret pipes in a string correctly? | neked | Shell Programming and Scripting | 2 | 04-02-2008 04:12 PM |
| tarring/compressing files in Unix directory | montski | Shell Programming and Scripting | 1 | 02-15-2008 04:19 PM |
| tarring large no. of files | marwan | UNIX for Dummies Questions & Answers | 4 | 08-19-2007 04:45 PM |
| tarring and gzipping dump files | PSC | UNIX for Dummies Questions & Answers | 4 | 07-23-2004 04:50 PM |
| backup : files being modified while tarring | jamesbond | UNIX for Dummies Questions & Answers | 5 | 10-15-2001 09:58 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Bash Tarring not un Tarring correctly
HI All,
Im encountering behaviour that is not correct for my requirements when I untar a file. Im using the below command to tar up files from various folders to the ARCHIVE folder as below... tar -cvf "$ARCHIVE_PATH"/"$dte_tar_filename" "$LOG_PATH" "$PROCESSED_PATH2" "$ERROR_PATH" WHen I copy the tarred file into a seperate independent folder and use tar -xvf *.tar , the files are untarred into the above folder respectively which I do not want. (Note the variables I pass into the tar command manitain the full path structure) I just want all the folder structure and files to untar within the independent folder where I issued the command tar -xvf *.tar. I missing a trick here.. any ideas? Regards Satnam |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|