Results 1 to 10 of 10
Hybrid View
-
2nd Jan 2010, 07:33 AM #1OPMember
no 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.vgnheart 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
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
themaCreator - create posts from...
Version 3.56 released. Open older version (or...