LinuxQuestions.org
Register a domain and help support LQ
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


Closed Thread
  Search this Thread
Old 04-02-2012, 09:55 AM   #1
mainstream
Member
 
Registered: Oct 2010
Location: localhost
Distribution: Ubuntu / Linux Mint
Posts: 61

Rep: Reputation: 0
Need some help with bash (recovered deleted data)


Hi all,

It seems my other thread is somehow deleted, so here is a new one.

I've successfully recovered my deleted data with photorec and testdisk. However, this recovered data is unsorted and in random order.

Now, it's up to me to sort all my photo's. One advantage is that i gave most of my photo collections keywords like "Gambia":
http://i40.tinypic.com/de1hmc.png
I tried the following command
Code:
find . -type f | xargs cp -t Gambia/ | grep -lri "gambia"
But it didn't seem to work.

Another problem is that i lost the scripts i wrote. I do remember some part of the script, but i can't seem to find it with grep:
Code:
mainstream@dopamine-pc:~/Desktop/Recovery 500GB$ find . -type f | xargs grep -lri "changing IFS to newline means spaces"
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option
Don't know what i'm doing wrong here.

Can someone help me out? Thanks in regards!
 
Old 04-02-2012, 09:56 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Your thread won't have been deleted, it'll come back shortly. please be patient.
 
Old 04-02-2012, 10:09 AM   #3
mainstream
Member
 
Registered: Oct 2010
Location: localhost
Distribution: Ubuntu / Linux Mint
Posts: 61

Original Poster
Rep: Reputation: 0
Ah ok, thanks :-) db problem?
 
Old 04-02-2012, 10:17 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Back now.

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
Old 04-02-2012, 10:51 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
mainstream, your other thread is visible now. Please, re-post your reply there. Thank you.
 
  


Closed Thread


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
How to Recover Deleted Files when rm command was used (I recovered using ext3grep) rtoney5 Linux - Software 8 01-14-2013 06:19 AM
Can data be recovered? md0 bad superblock? jlg3 Linux - Software 7 06-19-2007 06:48 AM
Installed linux linux on wrong device. Data needs to be recovered. shookie Linux - General 1 10-03-2006 05:47 AM
Mounting drive with recovered data SunOS 4.1 meb1008 Solaris / OpenSolaris 4 09-18-2006 10:14 AM
Corrupt/missing data fat32 need recovered cormack Linux - General 3 04-12-2006 06:18 PM


All times are GMT -5. The time now is 06:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration