Results 1 to 10 of 10
-
1st Jan 2010, 11:53 AM #1
OPMember
need rar & rename commands for windows
here are the linux commands for rar
and rename command isCode:for f in *.*;do rar a -m0 -v209716 "$f".rar "$f";done for f in *.rar;do unrar e -o+ "$f";done
some pls replay with similar batch ( dos commands in windows) commandsCode:for f in *.*;do mv "$f" mysite_"$f";donevgnheart Reviewed by vgnheart on . need rar & rename commands for windows here are the linux commands for rar for f in *.*;do rar a -m0 -v209716 "$f".rar "$f";done for f in *.rar;do unrar e -o+ "$f";done and rename command is for f in *.*;do mv "$f" mysite_"$f";done Rating: 5
-
1st Jan 2010, 12:09 PM #2
Memberhttp://www.respower.com/page_tutorial_unrar
Hope that helps.
-
1st Jan 2010, 12:32 PM #3
MemberWebsite's:
Google.comDidn't find that link much useful
don't know how to use , not ur fault , so thanks shadows .
Hope I'm not spamming ur thread , but can some one tell me how to make the same command but woth these additional functions :
first :
1- add a site shortcut into many folders in a specific directory .
2- Change the folders names from sample to sample my site name
3- rar many folders in a specific directory to 100/200 mb / part as store type of commpression
4- auto upload to many accounts . ( optional , not really needed )
I'm willing to pay up tp 10 $ ( i know it's not too much , but I will release it to everyone , so it will be helpful for all )
-
1st Jan 2010, 12:58 PM #4
MemberHave a look in www.rarlab.com, I think there is a commandline version you can get.
-
1st Jan 2010, 02:05 PM #5
OPMemberrarlabs says the commands for single extraction. i am looking for a "for condition loop"
-
1st Jan 2010, 09:45 PM #6
MemberI have no time atm
but
Read this and you will be able to convert it easily
http://tldp.org/LDP/abs/html/dosbatch.htmlCoding Horror Fan
I don't read PM's frequently .
-
2nd Jan 2010, 05:09 AM #7
OPMemberdesiboy, thanks for the link; but the link describes conversion of a bat file to shell script. is there any page that describes shell to bat ?
-
2nd Jan 2010, 06:15 AM #8
Member
-
2nd Jan 2010, 07:33 AM #9
OPMemberno need of that link, i made a bat file myself by studying basics; but still there is a issue my script wont function on folder names with spaces on it. the issue is with rar command line tool itself as it wont accept filenames with spaces on commandline.
do u have a bat file to remove spaces from folder names ?
i am already tiered , spent more than 30hrs on making the following bat
1) rename all folder name from folder to folder-mysite
2) put site.txt on all folder
3) compress with rar store option and split into 200mb part
4) move all rar to a separate folder called output
as far i heard cmd wont do strip out of spaces on folder names.
-
2nd Jan 2010, 03:56 PM #10
OPMemberthnx for all those replied. finaly made a standalone bat which do all works . even though it took more than 40hrs, i am satisfied with it
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
GRUB Commands
By Albert.Nawaro in forum Server ManagementReplies: 0Last Post: 17th Feb 2012, 08:21 AM -
Common SSH Commands - Linux Shell Commands
By 0ccul7 in forum Server ManagementReplies: 15Last Post: 20th Jan 2012, 01:11 PM -
SSH FTP UPload Commands
By Maverick in forum Server ManagementReplies: 6Last Post: 17th Jan 2012, 01:18 AM -
cPanel Commands to run from SSH
By Bharat in forum Technical and Security TutorialsReplies: 4Last Post: 5th Dec 2011, 01:18 PM








Register To Reply

Staff Online
themaCreator - create posts from...
Version 3.55 released. Open older version (or...