10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Under fuse application we have placeholders called containers;
Every container has their logs under:
<container2>/data/log/fuse.log... (6 Replies)
Discussion started by: Arjun Goswami
2. UNIX for Beginners Questions & Answers
I am trying to remove below file except the last one. With wild char It is removing all. Is there a way to exclude only one file and remove
if I do rm * it is removing all. I want the exclude and remove others. any... (14 Replies)
Discussion started by: arunkumar_mca
3. UNIX for Dummies Questions & Answers
I need to find files that have been created less than 3 days ago. However, I need to only search specific directories.
I've searched about the net and found some useful commands such as :
find . -type d -name 'dir_to_exclude' -prune -o -print -mtime -3
however I cannot get it... (2 Replies)
Discussion started by: horhif
4. Shell Programming and Scripting
I have a file like below.I want all the content in a single line excluding the XML.How can i proceed?
lo=09 (3 Replies)
Discussion started by: chetan.c
5. Shell Programming and Scripting
Hello i am using HP-UX rapdb2 B.11.23 U ia64 1068321383 unlimited-user license.
I am tryiyng to exclude for tar all files that start with TOT* but i doues not work
I am using:
tar -cvf /ODS/prepaid/CDR_FLOW/WORK/backup.tar --exclude='TOT*'
and i get the error:
tar: cannot stat... (3 Replies)
Discussion started by: chriss_58
6. UNIX for Advanced & Expert Users
The title is not as easy as it sounds.... I am trying to exclude and file while ssh and untaring the file on the fly.
The command I am using is... The command typically works but recently I've add the X option along with the exclude file. Essentially, the exclude file is being ignored when run... (2 Replies)
Discussion started by: lwif
Under one directory, I can use below command to find out the file names with string "Export terminated successfully without warnings"
grep -i -l "Export terminated successfully without warnings" *.*
My question is : how I find out the file names without including string
"Export... (5 Replies)
Discussion started by: GreatJerry
8. Shell Programming and Scripting
I have a log file which might have certain paragraphs.
Switch not possible Error code 1234
Process number 678
Log not available Error code 567
Process number 874
Now I create an exception file like this.
Error code 1234
Process number 874 (3 Replies)
Discussion started by: kaushys
9. UNIX for Advanced & Expert Users
I have some 5 folders and two files in the current directory.
I want to delete all, expect one folder(files in the folder too should not be deleted) and a file in the current directory. Lets say the folder and file that should not be deleted as 'a'(folder name) and 'b'(file name). Can you... (1 Reply)
Discussion started by: ammu
10. UNIX for Dummies Questions & Answers
How to get the name of the file by excluding the extention of file name?
For example, my filename is 'test.txt'. I want to get only the name 'test' but not the extention .txt. (2 Replies)
Discussion started by: vinay123