|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | 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. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem extracting zipped tar file
I was extracting the zipped tar file with the command gzip -dc Sample.tar.gz |tar xf - The tar file contained many delimited files; but lately they changed the structure of the tar file with another folder. So now all the delimited files are inside a folder called "Folder1" and the folder is packaged with tar. When I try to run the above command I get an error like below Code:
tar: 0511-188 Cannot create Folder1\/sample1.del: The file access permissions do not allow the specified action. Thanks... |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Maybe it is restoring original id and permissions, so try it with 'u'.
|
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Can you please specify exactly where should I use the 'u' option..
Thanks, |
|
#4
|
|||
|
|||
|
Sorry, I meant o, but options vary between versions Code:
tar xof tarfile Last edited by DGPickett; 01-30-2013 at 06:15 PM.. |
| The Following User Says Thank You to DGPickett For This Useful Post: | ||
asandy1234 (01-30-2013) | ||
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
It didn't help I get the same error
|
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
Can you run t on it to see where it wants to drop files? Maybe it has an absolute path. Nice tar files are all relative paths. You might need to make a matching landing zone directory to support the problem entry.
|
| Sponsored Links | |
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Issue in extracting Tar and Zipped file. | Quesemail | UNIX for Advanced & Expert Users | 1 | 02-13-2012 02:34 AM |
| Zipped tar file is corrupt | Pramodini Rode | UNIX for Dummies Questions & Answers | 2 | 02-25-2011 03:23 PM |
| Extracting from a tar file | nmalencia | UNIX Desktop for Dummies Questions & Answers | 1 | 03-22-2008 06:42 AM |
| extracting from a tar file | Reza Nazarian | UNIX for Dummies Questions & Answers | 4 | 03-24-2006 04:54 AM |
| Extracting a .tar file | javashakes | UNIX for Dummies Questions & Answers | 2 | 04-13-2002 11:11 PM |
|
|