10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Good Morning,
I'd like to archive an old user's files in the home directory on Solaris 9
Will this work?
cd home
tar -zcvf jsmitharchive.tar.gz jsmith/
---------- Post updated at 09:37 AM ---------- Previous update was at 09:33 AM ----------
Also- is the last /necessary (after... (4 Replies)
Discussion started by: Stellaman1977
4 Replies
2. Shell Programming and Scripting
Hi Guys,
The script below works but it creates a zip folder under
123_arch.zip
-- test1
-- orig1.txt
-- orig2.txt
-- orig3.txt
-- orig4.txt
I don't want the sub directory test1 but everything under the base *arch name
I can not create a long name with... (4 Replies)
Discussion started by: GaryP1973
4 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I have a scenario where in am using uuencode to send a txt file as an excel to end users( email attachment).I have 7 different files and these files are sent as emails 7 times...
So my question is, can i not zip all the 7 files at once and attach those files in a single... (9 Replies)
Discussion started by: saggiboy10
9 Replies
4. Shell Programming and Scripting
Hi,
I have got the script which find out the file that was modified 3 days ago now i want that all the files which fall into this category to be get zipped and then send to another directory...plz can u suggest me for that or any commands (18 Replies)
Discussion started by: SARAL SAXENA
18 Replies
5. Shell Programming and Scripting
Hi,
Is there any difference if files are individually zipped and archived in a directory or if files are moved into archiving directory and zipping that directory. (3 Replies)
Discussion started by: swathich
3 Replies
6. Shell Programming and Scripting
Hi
I have managed to copy a few files into a directory but since there are too many files it looks a bit untidy .
Is there a way i can directly copy all of them into a compresses file(.gz).
This would make it easier to ftp the file as well...Many Thanks... (2 Replies)
Discussion started by: jamshedj
2 Replies
7. UNIX for Dummies Questions & Answers
how would i zip a file?
what does zip mean? (4 Replies)
Discussion started by: trob
4 Replies
8. Shell Programming and Scripting
Dear Experts,
I need a script which will zipped the files older than 2 days.
but i dont want to use find . * -mtime 2.
Is there is any other method to achive this task.
i will ececute the script daily.
Regards, (3 Replies)
Discussion started by: shary
3 Replies
9. UNIX for Dummies Questions & Answers
Hi
In unix i want to zip the files in a directory excluding *.dmp, *.log, *.lst, *.out files in that directory. pls let me know what command to use.
$zip ........ ?
Thanks (1 Reply)
Discussion started by: dreams5617
1 Replies
10. Shell Programming and Scripting
Hi,
Ex: Directory /u01/par
If a directory contains all the below files:
a.lst
b.lst
c.lst
d.lst
......etc
i have 50 files in this directory.
How to(command to) zip all the files in this directory into a single zip file.
Thanks (1 Reply)
Discussion started by: dreams5617
1 Replies