10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to zip a file but facing the issue.
I have three zip files.
I want to add a_1.zip and a_2.zip to c.zip
for i in a*.zip; do
printf "%s\n" "$i"
done | zip -@ c.zip (2 Replies)
Discussion started by: weknowd
2. UNIX for Dummies Questions & Answers
I need to zip a file and move it into another folder along with the timestamp. The orginal file must be removed from the source directory
Any help will be greatly appreciarted
... (5 Replies)
Discussion started by: akshay01987
3. UNIX for Dummies Questions & Answers
I have a file a.txt, I am moving the file from my source location (/root/onw/src) to target folder(root/byl/src). My target folder has already a file by name a.txt..,while moving can I see if this file a.txt is existing then move it to archive folder(/root/byl/arc) zip and add time stamp to... (2 Replies)
Discussion started by: shruthidwh
4. Shell Programming and Scripting
In my process iam creating a temporary filelist with filename and date(yyyy-mm-dd format).I need to search file for a date and zip.
Below command is giving the filename ,can someone helpme how to add the zip or gzip command to this statement.
grep 2010-11-11 filelist.log | awk... (1 Reply)
Discussion started by: swathich
5. Shell Programming and Scripting
I am having some problem with a shell script which zip some files. For zipping I have used the following command:
find . -name "Test_*" -mtime 0 | zip Test_$(date +"%Y%m%d") -@
I have kept the script in /home/abc directory. It is creating the zip file within the same directory where i... (2 Replies)
Discussion started by: abhishek_510
6. Shell Programming and Scripting
I've been plugging away at this script and I cant get it to behave as I need.
first off it fails to adhere to the conditions of the file limit, and zips the directory regardless of the file count and secondly, but less important it zips up the entire path not just the directory I'm... (2 Replies)
Discussion started by: orionrush
I was trying to remove & archive all the files in the current directory and embed them into the zip file, i mean i don't want to list the files any more after zipping those files. For this i wrote the following code though operation was succeeded zipping all the files and creating a zip file i am... (2 Replies)
Discussion started by: Ariean
8. Shell Programming and Scripting
I want a script which creat a zip file folder of files older than 15 days.......
please help me on this........... (4 Replies)
Discussion started by: jayaramanit
9. UNIX for Advanced & Expert Users
I have written code which will ask the subject,body of the mail, attachment and mail id of the receipient.
Code will pick up 4 files zip it. It will zip all the files and then post the mail to the receipient. While zipping the file i am getting error. Can anyone help me with this.
... (7 Replies)
Discussion started by: Jolly
what is the maximum file size that i can zip in aix. (1 Reply)
Discussion started by: ramky79