Activity Stream
48,167 MEMBERS
6790 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1.     
    #1
    Member

    Default 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
    If I am using the sript its extracting the same files into different folders. Also here is a screenshot :-



    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

  2.   Sponsored Links

  3.     
    #2
    Member
    PHP 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 -*.rar 
    Coding Horror Fan
    I don't read PM's frequently .

  4.     
    #3
    Member
    Website's:
    GotMovies.net
    hahaahahahahahaha


  5.     
    #4
    Member
    Thx desiboy my first post updated. TC. Peace Out.

  6.     
    #5
    Member
    I Want to delete The Files When The files are unrared sucessfully.

  7.     
    #6
    Member
    just add it it before done
    Coding Horror Fan
    I don't read PM's frequently .

  8.     
    #7
    Member
    How do i extract the various files into 1 folder??? Please Help..TC. Peace Out.

    Orb.

  9.     
    #8
    Member
    Website's:
    warezall.com
    it should make only one folder, not with parts

  10.     
    #9
    Member
    Quote Originally Posted by CatchItBaby View Post
    it should make only one folder, not with parts
    more info needed
    Coding Horror Fan
    I don't read PM's frequently .

  11.     
    #10
    Member
    Website's:
    warezall.com
    everything is given in detailed in first post

    http://www.besthostingforums.com/sho...60&postcount=1

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. bash script mass download from links in text file
    By Mutikasa in forum Tutorials and Guides
    Replies: 1
    Last Post: 9th May 2012, 04:20 PM
  2. OpenVPN For VZ VPS Bash Script. "CentOS"
    By dotvps in forum Tutorials and Guides
    Replies: 4
    Last Post: 28th Feb 2012, 01:07 PM
  3. mass upload bash script (good for Megaupload)
    By Mutikasa in forum Tutorials and Guides
    Replies: 7
    Last Post: 13th Jan 2012, 12:54 PM
  4. How to: remotely backup your DB (bash script)
    By masterbator in forum Technical and Security Tutorials
    Replies: 8
    Last Post: 6th Dec 2011, 05:54 AM
  5. ssh/bash script
    By t3od0r in forum Technical Help Desk Support
    Replies: 0
    Last Post: 6th Oct 2010, 06:41 PM

Tags for this Thread

BE SOCIAL