Results 1 to 2 of 2
Hybrid View
-
4th May 2012, 11:44 PM #1Respected Member
Create a bash file called rarcreate in the folder where you keep avi files.
Code:for file in *.avi do i=${file%.*} rar a "$i" "$i.avi" website.url done
to run from ssh go to folder then type ./rarcreateLock Down Reviewed by Lock Down on . Need Help when compressing files by Linux RAR I got many more files ***.avi and 1 website.url file. I d like to pack all the avi files seperately with the url file. eg. 1.avi + website.url ===> 1.rar 2.avi + website.url ===> 2.rar 3.avi + website.url ===> 3.rar How can I do it automatically? thx in advance Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Compressing files to the smallest possible size
By Apathetic in forum Technical Help Desk SupportReplies: 6Last Post: 22nd Jun 2012, 06:49 AM -
All Move Files to folder with same name on linux?
By robinex in forum Technical Help Desk SupportReplies: 2Last Post: 13th Jun 2012, 08:48 PM -
[req] how to unrar files in linux ?
By heppinnz in forum Web Development AreaReplies: 9Last Post: 24th Sep 2011, 02:38 PM -
[linux]Rar files, upload to RS,Hotfile,fileserve,sharingmatrix then delete the files
By jpavsex in forum Tutorials and GuidesReplies: 10Last Post: 13th Jul 2010, 04:49 PM -
[linux]Rar files, upload to RS & HF then delete the files
By Snell in forum Tutorials and GuidesReplies: 8Last Post: 21st Jun 2010, 07:01 AM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...