Results 1 to 10 of 15
-
8th Feb 2010, 06:42 AM #1OPMember
Need A Bash Script
Hi Everyone,
The following is the script which unrar the files :
for x in *.rar; do mkdir "${x%.rar}" && cd "${x%.rar}" && unrar x "../$x" && cd ..; done
But I want A Script That Will Give Me An Output Like The Following Screenshot.
I'm a new user in Ubuntu 9.04 & need a bash script which would delete all the rar files after extraction.
Thanks. TC. Peace Out.
Orb.orbofdarkness Reviewed by orbofdarkness on . Need A Bash Script Hi Everyone, The following is the script which unrar the files : If I am using the sript its extracting the same files into different folders. Also here is a screenshot :- http://www.besthostingforums.com/images/cdn/besthostingforums.com/2010/02/qov9ud-1.jpg But I want A Script That Will Give Me An Output Like The Following Screenshot. Rating: 5
-
8th Feb 2010, 06:53 AM #2MemberPHP Code:
#!/bin/bash
# Author : desiboy
# Purpose: to delete all files with .rar extension in a directory
# Date : Feb-8-2010
# Notes : The shell file should have execution permissions and user must be a root or should have control over that dir
rm -f *.rar
Coding Horror Fan
I don't read PM's frequently .
-
8th Feb 2010, 06:54 AM #3
-
8th Feb 2010, 06:55 AM #4OPMember
Thx desiboy my first post updated. TC. Peace Out.
-
8th Feb 2010, 06:55 AM #5OPMember
I Want to delete The Files When The files are unrared sucessfully.
-
8th Feb 2010, 07:36 AM #6Member
just add it it before done
Coding Horror Fan
I don't read PM's frequently .
-
8th Feb 2010, 09:43 AM #7OPMember
How do i extract the various files into 1 folder??? Please Help..TC. Peace Out.
Orb.
-
8th Feb 2010, 11:12 AM #8MemberWebsite's:
warezall.comit should make only one folder, not with parts
-
8th Feb 2010, 11:14 AM #9Member
-
8th Feb 2010, 11:17 AM #10MemberWebsite's:
warezall.comeverything is given in detailed in first post
http://www.besthostingforums.com/sho...60&postcount=1
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
bash script mass download from links in text file
By Mutikasa in forum Tutorials and GuidesReplies: 1Last Post: 9th May 2012, 04:20 PM -
OpenVPN For VZ VPS Bash Script. "CentOS"
By dotvps in forum Tutorials and GuidesReplies: 4Last Post: 28th Feb 2012, 01:07 PM -
mass upload bash script (good for Megaupload)
By Mutikasa in forum Tutorials and GuidesReplies: 7Last Post: 13th Jan 2012, 12:54 PM -
How to: remotely backup your DB (bash script)
By masterbator in forum Technical and Security TutorialsReplies: 8Last Post: 6th Dec 2011, 05:54 AM -
ssh/bash script
By t3od0r in forum Technical Help Desk SupportReplies: 0Last Post: 6th Oct 2010, 06:41 PM
themaPoster - post to forums and...
Version 5.23 released. Open older version (or...