LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2010, 06:04 PM   #1
ausber71
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
How to remove multiple Photorec files (recup_dir.)


I was doing some data recovery with Photorec and by the time I was done I have over 700 folders (recup_dir.).
The only solution I was able to apply was the one posted by pljvaldez on
this site dated 04-09-08, 09:01 AM. After doing the same thing for at least 70 times I decided to ask, so, is there anyone that knows how to delete multiple folders at the same time. I would really appreciate some help.

Thank you for your time...

 
Old 01-13-2010, 07:12 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You can remove directories by doing rm -rf recup_dir* which means remove recursively forced all directories that start with recup_dir.

Be very very careful when using rm -rf as you can do some serious damage to your system. If you want, do rm -irf recup_dir* and it will prompt you to delete each directory that begins with "recup_dir".
 
Old 01-14-2010, 12:12 PM   #3
ausber71
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you.

Thank you very much it worked, thank you...

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PhotoRec completely filled home - can not remove the recup_dir.# directories Herbivore Linux - Newbie 3 06-03-2013 12:47 PM
Bash script to find and remove similar lines from multiple files linuxquestion1 Programming 9 07-13-2011 01:45 AM
LXer: Recover deleted files in linux with Photorec LXer Syndicated Linux News 0 10-12-2009 09:41 AM
recover directories & files from ext. HDD using testdisk or photorec esteeven Linux - Hardware 1 11-13-2008 10:48 AM
remove multiple files with whitespace coldy78 Linux - General 1 12-10-2007 02:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration