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. Post Here to Contact Site Administrators and Moderators
Hi can you please help with the below ?
source file:
Column1,Column2,Column3,Column4
abc,123,dir1/FXX/F19,1
abc,123,dir1/FXX/F20,1
abc,123,dir1/FXX/F23,2
abc,123,dir1/FXX/C25,2
abc,123,dir1/FXX/X25,2
abc,123,dir1/FXX/A23,3
abc,123,dir1/FXX/Z25,3
abc,123,dir1/FXX/Y25,4
I want to... (1 Reply)
Discussion started by: paul1234
1 Replies
3. Shell Programming and Scripting
I currently have a code that find and zip all files in current folder and zip it, the problem is the name of the zip will include the extension as well and I don't want it.
for ex:
Volvo-red.swf -> Volvo-red.swf.zip
find . -maxdepth 1 -type f ! -name ".*" -exec bash -c 'zip -r "$0.zip"... (6 Replies)
Discussion started by: Frozen77
6 Replies
4. 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
5. 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
6. 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
7. 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
8. UNIX for Dummies Questions & Answers
how would i zip a file?
what does zip mean? (4 Replies)
Discussion started by: trob
4 Replies
9. 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
10. 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