10 More Discussions You Might Find Interesting
1. Red Hat
Hi,
I have created a test script like this :
# cat script1.sh
DAY=$(date +%d)
MONTH=$(date +%b)
YEAR=$(date +%Y)
BC01="Blast_BC01"
BC15="Blast_BC15"
DIR1="$MONTH$YEAR_$BC01"
DIR2="$MONTH$YEAR_$BC07"
DIR3="$MONTH$YEAR_$BC15"
if ;then
mkdir -p "$YEAR/$DIR3"
fi
#
When I... (5 Replies)
Discussion started by: anaigini45
5 Replies
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
7 Replies
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
2 Replies
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
6 Replies
5. AIX
Hi
root@appdr01 #ls -latr
total 2887400
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
1 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
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.
Regards
Andy (3 Replies)
Discussion started by: Andysundar
3 Replies
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
2 Replies
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
4 Replies
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
0 Replies
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
2 Replies