10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am trying to zip a file but facing the issue.
I have three zip files.
a_1.zip
a_2.zip
c.zip
I want to add a_1.zip and a_2.zip to c.zip
Code:
###############
for i in a*.zip; do
printf "%s\n" "$i"
done | zip -@ c.zip (2 Replies)
Discussion started by: weknowd
2 Replies
2. Shell Programming and Scripting
Hi
I am trying to create a zip file of a csv by running below script.
zip -r Daily_DB_`date '+:%d/%m/%y'` DBA_checks.csv
But I am getting below error
zip I/O error: No such file or directory
zip error: Could not create output file (Daily_DB_:02/11/12.zip)
However when I run below... (1 Reply)
Discussion started by: sv0081493
1 Replies
3. UNIX for Dummies Questions & Answers
Hi
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
Source :
folder1/source12.txt
folder2
After zipping
Folder1/Folder2/source12.zip
Any help will be greatly appreciarted
... (5 Replies)
Discussion started by: akshay01987
5 Replies
4. UNIX for Dummies Questions & Answers
Hello,
Here is the question. We have 2 identical boxes (see below), one is functioning as production second is being built as backup. Backup was
built by 'osa' restore (image taken from production). Problem is..the max filesize on production is 2147481600 bytes and the max filesize on backup... (0 Replies)
Discussion started by: dbamadness
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
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
2 Replies
6. Shell Programming and Scripting
Hi,
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
1 Replies
7. Shell Programming and Scripting
Hi,
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
2 Replies
8. Shell Programming and Scripting
HI,
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
4 Replies
9. UNIX for Advanced & Expert Users
Hi ,
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
7 Replies
10. UNIX for Dummies Questions & Answers
I tried to build a 1.3 TB volume with disk suite, and recieved an error (don't remember the exact verbage, it was very late). It only built a 1 TB volume. newfs completed without error. I rebuilt the volume to be just under 1TB, and all was fine. Is there a limitation with disk suite, or ufs, that... (3 Replies)
Discussion started by: 98_1LE
3 Replies