10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
How to get a file 'zlib.h' in an entire directory with an excluded directory specified lives under that starting directory by using find command, as it failed on:
$ find . -name 'zlib.h' -a -ipath 'CHROME.TMP' -prune -o -print
it'll just list entirely up (2 Replies)
Discussion started by: abdulbadii
2 Replies
2. UNIX for Dummies Questions & Answers
I am looking to write a script that will read the php.ini files on my web host. If the two lines do exist do nothing. If not append two lines to the end of it then move on to the next directory and open the next php.ini file.
I have the beginning of one that was given to me on another web site but... (6 Replies)
Discussion started by: Larrykh465
6 Replies
3. Shell Programming and Scripting
Hi
I was trying to zip some file in a directory using the below command.
find /dir1/dir2/ -name "asdf*.txt" -print | zip -m /dir1/dir2/dir3/asd_Date.zip -@
Its getting zipped.But when I am trying to unzip,
Its getting unzipped with full directory structure.
Is there any command... (1 Reply)
Discussion started by: ginrkf
1 Replies
4. Shell Programming and Scripting
Hello,
I`m a complete newbie to coding, please help with this problem.
I have multiple files in a directory, I have to loop through the contents of each file and extract number of unique isoforms in that file. Each file is tab delimited and only the line with the first parent (column 3)... (1 Reply)
Discussion started by: ritakadm
1 Replies
5. AIX
I am trying to restore a specific directory and all sub-directories therein using a rootvg tape. I am using the following command to make the backup:
mksysb -m -i -v /dev/rmt0
However, I am getting the following result:
tctl status
rmt0 Available 04-08-00-0,0 LVD SCSI 4mm Tape Drive... (10 Replies)
Discussion started by: herot
10 Replies
6. UNIX for Dummies Questions & Answers
Hi,
need to zip all files in a directory and move to another directory after the zip..
i am using this one but didnt help me...
zip -r my_proj_`date +%Y%m%d%H%MS`.zip /path/my_proj
mv in_proj_`date +%Y%m%d%H%M%S`.zip /path/source/
i am trying to zip all the files in my_proj... (0 Replies)
Discussion started by: dssyadav
0 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Im facing a problem that im stucked,
I have the following structure:
thales@pereirtc-vbox:/home/VfARM$ ls
code config doc lib manifest.bak manifest.rel manifest.v3 ns pub
if i try to execute zip -q -o arm.zip VfARM/* it will create a zip file with the folder VfARM.... (2 Replies)
Discussion started by: Thales.Claro
2 Replies
8. Shell Programming and Scripting
Hi All,
I need to tar the entire directory except one directory inside that.
I have used the below command
tar -cvfX test.tar bin/perl bin/
I need to tar all the directories inside the bindirectory except the perl directory
Please help me in solving this :b:
Regards,
Kalai (4 Replies)
Discussion started by: kalpeer
4 Replies
9. Shell Programming and Scripting
I have two files in a directory:
xxxx.txt
xxxx.csv
I need to zip both files up but the command I am doing below is only zipping xxx.txt file????:
cd ../$CUSTOMER_DIRECTORY
zip -q ${name}${FILE_OUT_NAME}.zip ls -lrt *.csv *.txt
can anyone help?:confused: (3 Replies)
Discussion started by: Pablo_beezo
3 Replies
10. UNIX for Advanced & Expert Users
what's the best command to zip up the whole unix directory, then ftp this to windows for viewing the directories/files.
thank you (1 Reply)
Discussion started by: venhart
1 Replies