Sponsored Content
Full Discussion: Tar stucks while extracting
Top Forums UNIX for Dummies Questions & Answers Tar stucks while extracting Post 302930625 by freebee on Tuesday 6th of January 2015 03:45:08 AM
Old 01-06-2015
Hello,

I tried and was able to recreate issue, i have redirected tar command's stderr and stdout.

Code:
tar: home/freebee/work/data/Stress/Stress_SubmitOrderAccounts_UnReg.txt: time stamp 2015-01-06 01:33:50 is 28769.181311346 s in the future
tar: home/freebee/work/data/Stress/Stress1_WebID.txt: time stamp 2015-01-06 01:33:52 is 28771.180911411 s in the future
tar: home/freebee/work/data/Stress/LoggedIn_Account_AddPay.txt: time stamp 2015-01-06 01:33:52 is 28771.180680643 s in the future
tar: home/freebee/work/data/Stress/CatalogId.txt: time stamp 2015-01-06 01:33:48 is 28767.176821988 s in the future
tar: home/freebee/work/data/Stress/Stress_SubmitOrderAccounts_Reg.txt: time stamp 2015-01-06 01:33:50 is 28769.176726251 s in the future
tar: home/freebee/work/data/Stress/Stress1_Prod_SKU.txt: time stamp 2015-01-06 01:33:51 is 28770.176310871 s in the future
tar: home/freebee/work/data/Stress/WebId_SKUID12Sept.txt: time stamp 2015-01-06 01:33:51 is 28770.176042553 s in the future
tar: home/freebee/work/data/Stress/ForgetPass_Account.txt: time stamp 2015-01-06 01:33:52 is 28771.175666481 s in the future
tar: home/freebee/work/data/Stress/WebSku16Oct.txt: time stamp 2015-01-06 01:33:51 is 28770.175545522 s in the future
tar: home/freebee/work/data/Stress/KMCatalogId.txt: time stamp 2015-01-06 01:33:48 is 28767.175477947 s in the future
tar: home/freebee/work/data/Stress/Stress1_SKU.txt: time stamp 2015-01-06 01:33:50 is 28769.175223481 s in the future
tar: home/freebee/work/data/Stress/Stress_LoggedIn_Accounts.txt: time stamp 2015-01-06 01:33:52 is 28771.175149912 s in the future
tar: home/freebee/work/data/Stress/LoggedIn_Account.txt: time stamp 2015-01-06 01:33:52 is 28771.174131207 s in the future
tar: home/freebee/work/data/Stress/Stress_PromoCodes.txt: time stamp 2015-01-06 01:33:50 is 28769.174054509 s in the future
tar: home/freebee/work/data/Stress/PKY_NS1_WebId.txt: time stamp 2015-01-06 01:33:49 is 28768.173991133 s in the future
tar: home/freebee/work/data/Stress/ShipInfo.csv: time stamp 2015-01-06 01:33:50 is 28769.173929333 s in the future
tar: home/freebee/work/data/Stress/LoggedIn_Account_ShipBill.txt: time stamp 2015-01-06 01:33:52 is 28771.173405374 s in the future
tar: home/freebee/work/data/Stress/Stress1_Keywords.txt: time stamp 2015-01-06 01:33:48 is 28767.173143741 s in the future
tar: home/freebee/work/data/Stress/PKY_NS1_SKU.txt: time stamp 2015-01-06 01:33:49 is 28768.173036212 s in the future
tar: home/freebee/work/data/Stress: time stamp 2015-01-06 01:33:52 is 28771.172999897 s in the future
tar: home/freebee/work/data: time stamp 2015-01-06 01:33:48 is 28767.172980362 s in the future
tar: home/freebee/work: time stamp 2015-01-06 01:33:48 is 28767.172961002 s in the future
tar: home/freebee: time stamp 2015-01-06 01:33:48 is 28767.1729435 s in the future
tar: home: Cannot utime: Operation not permitted
tar: home: Cannot change mode to rwxrwxr-x: Operation not permitted
tar: Exiting with failure status due to previous errors

In stderr file these error messages were found
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

error while extracting using TAR

Hi folks, When I am extracting an archive using the: tar -xvf /dev/rmt0 command i get the following error: x ./GRBD8901/GRBR006T, 1763253368 bytes, 3443855 media blocks. tar: 0511-197 ./GRBD8901/GRBR006T: Cannot write data extracted with the tar command: ... (7 Replies)
Discussion started by: Erik Rooijmans
7 Replies

2. UNIX for Advanced & Expert Users

extracting from tar.bz2

hi could any body tell me how to extract .tar.bz2 files i tried using tar but in vain. i found bzip2 in googling but i could not find it on machine unix tru64 please suggest. (1 Reply)
Discussion started by: Raom
1 Replies

3. UNIX for Dummies Questions & Answers

extracting from a tar file

Dear experts I have received a tar file containing several files with full path. Now I need to restore it in another system but when I want to extract files by using tar -xvf tarfile it wants to create all files with full paths again in new system in which I don't have enough previleges. How... (4 Replies)
Discussion started by: Reza Nazarian
4 Replies

4. UNIX Desktop Questions & Answers

Extracting from a tar file

Can I extract files from an archive file (tar), where the filename includes the full directory path, to a different directory? For example the archive files may have a filename of /SrcFiles/XXX/filename.dat and I want to extract it to /SrcFiles/YYY/filename.dat. Since the archive file... (1 Reply)
Discussion started by: nmalencia
1 Replies

5. UNIX for Dummies Questions & Answers

Extracting from a tar archive file

Can I extract files from an archive file (tar), where the filename includes the full directory path, to a different directory? For example the archive files may have a filename of /SrcFiles/XXX/filename.dat and I want to extract it to /SrcFiles/YYY/filename.dat. Since the archive file was... (1 Reply)
Discussion started by: nmalencia
1 Replies

6. Filesystems, Disks and Memory

Extracting certain /paths/* using tar

forgive my ignorance. I did a search of this sub-forum for "tar -xp" and variations on the same w\out success, so here goes... Scenario: filename.tar file. Desired Task: I want to be able to extract only files from the user's public_html folder (and all those under it as an option) from... (4 Replies)
Discussion started by: Habitual
4 Replies

7. Shell Programming and Scripting

Extracting .tar files.

Hey guys complete n00b here so I'll try my best at explaining. I'm creating a backup and restore utility and decided to use tar. I create a backup folder in each user's account and when backing up (say word processing files), I use the following: tar cvf /home/user/backup/wpbackup.tar... (2 Replies)
Discussion started by: EwanD
2 Replies

8. UNIX for Advanced & Expert Users

Extracting directories only from tar ball

Hi Somebody must have done this before, but I can't seem to find any answer on my problem. On HP-UX 11i v3 I have a relatively large tar ball (~120 GB), and I want to create the directory structure only from the archive. There is no option to make a new archive with only the directory... (3 Replies)
Discussion started by: hpvm_adm
3 Replies

9. OS X (Apple)

Uncompressing but not extracting tar.Z file

Hi I have a few hundred files with extension .tar.Z. These files were archived (tar) and compressed (Z) on a UNIX system. I need to unzip them but not extract them. In other words they need to go to .tar extension. I would like to do this on my MAC or on a windows pc. I do not have a UNIX... (3 Replies)
Discussion started by: kalbano
3 Replies

10. Shell Programming and Scripting

Extracting .tar.gz files

I have a directory tree containing archive .tar.gz files that I want to extract at the location where they recide. How can I achieve such an operation? (7 Replies)
Discussion started by: kristinu
7 Replies
dos2unix(1)						      General Commands Manual						       dos2unix(1)

NAME
dos2unix - DOS/MAC to UNIX text file format converter SYNOPSYS
dos2unix [options] [-c convmode] [-o file ...] [-n infile outfile ...] Options: [-hkqV] [--help] [--keepdate] [--quiet] [--version] DESCRIPTION
This manual page documents dos2unix, the program that converts plain text files in DOS/MAC format to UNIX format. OPTIONS
The following options are available: -h --help Print online help. -k --keepdate Keep the date stamp of output file same as input file. -q --quiet Quiet mode. Suppress all warning and messages. -V --version Prints version information. -c --convmode convmode Sets conversion mode. Simulates dos2unix under SunOS. -o --oldfile file ... Old file mode. Convert the file and write output to it. The program default to run in this mode. Wildcard names may be used. -n --newfile infile outfile ... New file mode. Convert the infile and write output to outfile. File names must be given in pairs and wildcard names should NOT be used or you WILL lost your files. EXAMPLES
Get input from stdin and write output to stdout. dos2unix Convert and replace a.txt. Convert and replace b.txt. dos2unix a.txt b.txt dos2unix -o a.txt b.txt Convert and replace a.txt in ASCII conversion mode. Convert and replace b.txt in ISO conversion mode. Convert c.txt from Mac to Unix ascii format. dos2unix a.txt -c iso b.txt dos2unix -c ascii a.txt -c iso b.txt dos2unix -c mac a.txt b.txt Convert and replace a.txt while keeping original date stamp. dos2unix -k a.txt dos2unix -k -o a.txt Convert a.txt and write to e.txt. dos2unix -n a.txt e.txt Convert a.txt and write to e.txt, keep date stamp of e.txt same as a.txt. dos2unix -k -n a.txt e.txt Convert and replace a.txt. Convert b.txt and write to e.txt. dos2unix a.txt -n b.txt e.txt dos2unix -o a.txt -n b.txt e.txt Convert c.txt and write to e.txt. Convert and replace a.txt. Convert and replace b.txt. Convert d.txt and write to f.txt. dos2unix -n c.txt e.txt -o a.txt b.txt -n d.txt f.txt DIAGNOSTICS
BUGS
The program does not work properly under MSDOS in stdio processing mode. If you know why is that so, please tell me. AUTHORS
Benjamin Lin - <blin@socs.uts.edu.au> Bernd Johannes Wuebben (mac2unix mode) <wuebben@kde.org> MISCELLANY
Tested environment: Linux 1.2.0 with GNU C 2.5.8 SunOS 4.1.3 with GNU C 2.6.3 MS-DOS 6.20 with Borland C++ 4.02 Suggestions and bug reports are welcome. SEE ALSO
unix2dos(1) mac2unix(1) 1995.03.31 dos2unix v3.0 dos2unix(1)
All times are GMT -4. The time now is 03:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy