10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a tar arcive
arch_all.tar.gz
and 4 batched tar archive . These batches are supposed to have all the files form arch1.all.tar.gz
arch1_batch1.tar.gz
arch1_batch2.tar.gz
arch1_batch3.tar.gz
arch1_batch4.tar.gz
my issue is that the directory structure in "arch_all.tar.gz" is... (6 Replies)
Discussion started by: sumang24
6 Replies
2. Shell Programming and Scripting
Hi, I have a control file which will contain all filenames(300) files. Loop through all the file names in the control files and check the existence of this file in another directory(same server). I need to infinitely(2 hrs) run this while loop until all the files are found. Once a file is found,... (5 Replies)
Discussion started by: laknar
5 Replies
3. Shell Programming and Scripting
Data files coming in different names in a file name called process.txt.
1. shipments_yyyymmdd.gz
2 Order_yyyymmdd.gz
3. Invoice_yyyymmdd.gz
4. globalorder_yyyymmdd.gz
The process needs to discard all the below files and only process two of the 4 file names available
... (1 Reply)
Discussion started by: dsravanam
1 Replies
4. UNIX for Dummies Questions & Answers
hi,
I need a help. I used this command to list all the log files which are for more than 10 days to a text file.
find /usr/script_test -type f -mtime +10>>/usr/ftprm.txt
I want all these files listed in the ftprm.txt to be ftp in another machine and then rm the files.
Anyone can help me... (8 Replies)
Discussion started by: kamaldev
8 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I need to delete the oldest file in folder when the file count in the folder exceed 6 ( i have a process that puts the source files into this folder )
E.x : Folder : /data/opt/backup
01/01/2012 a.txt
01/02/2012 b.txt
... (1 Reply)
Discussion started by: akshay01987
1 Replies
6. Shell Programming and Scripting
Hi,
I have a data file xyz.dat similar to the one given below,
2345|98|809||x|969|0
2345|98|809||y|0|537
2345|97|809||x|544|0
2345|97|809||y|0|651
9685|98|809||x|321|0
9685|98|809||y|0|357
9685|98|709||x|687|0
9685|98|709||y|0|234
2315|98|809||x|564|0
2315|98|809||y|0|537... (2 Replies)
Discussion started by: nithins007
2 Replies
7. Shell Programming and Scripting
Sun Solaris Unix Question
Haven't been able to find any solution for this situation. Let's just say the file names listed below exist in a directory. I want the find command to find all files in this directory but at the same time I want to eliminate certain file names or files with certain... (2 Replies)
Discussion started by: 2reperry
2 Replies
8. Shell Programming and Scripting
Hi
I found the following line would concatenate all test_01 test_02 test_03 files into "bigfile".
cat test_* >> bigfile
But, what I'm looking for a way to insert each file names in order when concatenated in "bigfile".
Thank you
samky2005 (2 Replies)
Discussion started by: samky2005
2 Replies
9. UNIX for Dummies Questions & Answers
I'm reading the file name from a spreadsheet then creating a data file with several remove statements.
i.e
cd /sun/5.0/AWBE/v1.0/svr/VaultLocs/CPVaultLoc/
rm "ZXCV KTest Stat host $$ cont.xls"
cd /sun/5.0/AQE/v1.0/svr/VaultLocs/CPVaultLoc/
rm "ABC PMT OzLtr.pdf"
cd... (2 Replies)
Discussion started by: orahi001
2 Replies
10. UNIX for Dummies Questions & Answers
Recentily i receive virus ninda and my network was files *.eml.
I find all *.eml with:
find / -name *.eml -print > virus
Virus has the path and name of the file,so, How can i delete all *.eml?
Thanks (2 Replies)
Discussion started by: AlvaroD
2 Replies