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

Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member
    Website's:
    Wrestle-Zone.net Media-Zone.net
    you can always move the files from allrar folder back.

    you don't know the first thing about linux. and i would prefer you go with easy stuff.
    EvilGenius Reviewed by EvilGenius on . mass file delete command I am using CentOS 5.3 I am having one folder which contain nearly 1500 files. there are files with txt,gif,rar,jpg extensions. I want to keep rar files and delete all other files. some pls give me shell command to do that Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    evilgenius , i know there is such command. i saw it previously some were, but i didn't remember where is was found. if u dont know abt that no problem leave it. i hope someone will find and replay here

  4.     
    #3
    Super Member
    all you have to do is evilgeniuses command then move the files back...

    Surely this isn't too hard?

    So kiss me and smile for me, say that you'll wait for me <'3

  5.     
    #4
    Member
    Use sftp and sort by type, mass select and delete them

  6.     
    #5
    Member
    finaly i found it my self

    rm -f $(ls * | grep -v .rar)

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mass prune or delete inactive users?
    By kicker-hp_27 in forum vBulletin
    Replies: 9
    Last Post: 2nd Mar 2011, 07:22 PM
  2. need SSH command to change file/folder's Owner
    By onel0ve in forum Webmaster Discussion
    Replies: 7
    Last Post: 17th Jan 2011, 06:19 PM
  3. How to delete mass members
    By makfun in forum IP.Board
    Replies: 4
    Last Post: 11th Jan 2011, 04:16 PM
  4. Delete old mass private messages.
    By Pirate in forum Web Application/Script Support
    Replies: 8
    Last Post: 24th Sep 2010, 08:37 PM
  5. need shell command to search and delete
    By vgnheart in forum Server Management
    Replies: 2
    Last Post: 10th Jun 2009, 06:05 PM

Tags for this Thread

BE SOCIAL