10 More Discussions You Might Find Interesting
1. Red Hat
I have created a test script like this :
# cat script1.sh
mkdir -p "$YEAR/$DIR3"
When I... (5 Replies)
Discussion started by: anaigini45
2. Shell Programming and Scripting
The below bash will untar each tar.bz2 folder in the directory, then remove the tar.bz2.
Each of the tar.bz2 folders ranges from 40-75GB and currently takes ~2 hours to extract. Is there a way to speed up the extraction process?
I am using a xeon processor with 12 cores. Thank you :).
... (7 Replies)
Discussion started by: cmccabe
3. Emergency UNIX and Linux Support
i need to restore everything in a certain directory and lower. I have a tgz archive of all of the files, and i need to restore everything in /user/home/xxxx/ and below. this is a users home directory. this is a dumb question and i know when i see the answer i am going to say DUH, but i am... (2 Replies)
Discussion started by: frankkahle
4. UNIX for Advanced & Expert Users
Not sure if this is really in the right forum but here goes....
Looking for a way to extract individual compressed files from a compressed tarball WITHOUT tar -zxvf and then recompressing. Basically we need to be able to chunk out an individual compressed file while it still remains... (6 Replies)
Discussion started by: athos
root@appdr01 #ls -latr
drwxr-xr-x 2 root system 256 May 06 11:34 lost+found
drwxr-xr-x 34 root system 4096 May 06 11:34 ..
drwxr-xr-x 3 root system 256 May 06 12:20 .
-rw-r----- 1 root system 1478338560 May 06... (1 Reply)
Discussion started by: samsungsamsung
6. UNIX for Dummies Questions & Answers
I want to only tar the Directories and the Sub Directories. I dont want the files which are created in those directories.
Can you please help me out in this issue.
Andy (3 Replies)
Discussion started by: Andysundar
7. Shell Programming and Scripting
In a bash script I am writing I am having a problem excluding selected directories from tar.
From the machine $SERVER I issue the command
#start netcat on storage server
gnetcat -l -vv -p 2011 >$FILEPATH/$SHORT_NAME.$today.tar &
The the following command is then sent to the $CLIENT.
#start... (2 Replies)
Discussion started by: thumper
8. Shell Programming and Scripting
I have this tar file which has files of (.ksh, .ini &.sql) and their hard and soft links.
Later when the original files and their directories are deleted (or rather lost as in a system crash), I have this tar file as the only source to restore all of them.
In such a case when I do,
tar... (4 Replies)
Discussion started by: manthasirisha
9. UNIX for Dummies Questions & Answers
I'm pulling a 1MB file from tape using tar. It's a 300GB DLT tape and it does have a lot of files on it because it's go the entire OS and Oracle RMAN files and 3000 table exports, but it's taking 2-3 hours to pull this file off of it. Is this type of performance what I should expect?
The... (0 Replies)
Discussion started by: citrowske
10. UNIX for Dummies Questions & Answers
How do I exclude some directories while creating a tar file with a number of directories?
thanks. (2 Replies)
Discussion started by: uchachra