F5F Stay Refreshed Software Operating Systems Recover lost data Restore removed files Reclaim deleted information Return lost documents

Recover lost data Restore removed files Reclaim deleted information Return lost documents

Recover lost data Restore removed files Reclaim deleted information Return lost documents

L
lakenly
Junior Member
10
04-02-2016, 03:48 PM
#1
Hello, I'm using Debian with XFCE. Last night I made an error and deleted all my backup files—photos, documents, etc. I checked the trash folder but found nothing there. So I tried recovering the data using photorec. It worked, but the files are spread across many directories like rec_dir1, 2, 3... and also inside .cab, ttf, xml and other folders that weren't in the backup. I looked on forums and saw that the trash should be in /home/usrname/.local/share/Trash/files, but there isn’t one there. I also checked ~/Documents/Trash-1000, but that folder doesn’t exist. I managed to recover some files, but they ended up in about 300 different folders, which would take a long time to sort manually.
L
lakenly
04-02-2016, 03:48 PM #1

Hello, I'm using Debian with XFCE. Last night I made an error and deleted all my backup files—photos, documents, etc. I checked the trash folder but found nothing there. So I tried recovering the data using photorec. It worked, but the files are spread across many directories like rec_dir1, 2, 3... and also inside .cab, ttf, xml and other folders that weren't in the backup. I looked on forums and saw that the trash should be in /home/usrname/.local/share/Trash/files, but there isn’t one there. I also checked ~/Documents/Trash-1000, but that folder doesn’t exist. I managed to recover some files, but they ended up in about 300 different folders, which would take a long time to sort manually.

D
dutchmcsebas
Member
69
04-16-2016, 06:13 PM
#2
You have no alternative... by the way, can you just restart the system again?
D
dutchmcsebas
04-16-2016, 06:13 PM #2

You have no alternative... by the way, can you just restart the system again?

J
Jake2201
Junior Member
8
04-16-2016, 06:34 PM
#3
btw change title to restore deleted files sorting or something like that
J
Jake2201
04-16-2016, 06:34 PM #3

btw change title to restore deleted files sorting or something like that

I
iMisterDzN
Junior Member
4
04-22-2016, 03:15 AM
#4
Sure, I can help with that. What specific issue are you trying to fix on Linux?
I
iMisterDzN
04-22-2016, 03:15 AM #4

Sure, I can help with that. What specific issue are you trying to fix on Linux?

D
DarkStains
Member
149
05-05-2016, 08:12 PM
#5
Avoid creating a basic shell script for this task. Instead, focus on organizing your approach clearly.
D
DarkStains
05-05-2016, 08:12 PM #5

Avoid creating a basic shell script for this task. Instead, focus on organizing your approach clearly.

T
Toodaloo_246
Senior Member
439
05-06-2016, 02:50 AM
#6
I believe the issue arises because in folder 1 there are three subsequent folders, each containing files, and the recovered files lack their original names—only codes such as 0135135.png remain.
T
Toodaloo_246
05-06-2016, 02:50 AM #6

I believe the issue arises because in folder 1 there are three subsequent folders, each containing files, and the recovered files lack their original names—only codes such as 0135135.png remain.

I
iBarambe
Member
160
05-09-2016, 07:57 PM
#7
It would remain feasible, though restoring file names would no longer be possible. You'd be left with all files in one main folder for manual sorting. Not the best setup, but at least simpler than a messy hierarchy.
I
iBarambe
05-09-2016, 07:57 PM #7

It would remain feasible, though restoring file names would no longer be possible. You'd be left with all files in one main folder for manual sorting. Not the best setup, but at least simpler than a messy hierarchy.

L
livtheviking
Posting Freak
846
05-15-2016, 03:58 PM
#8
You could use the 'find' utility to generate a list of valid recovered image files, after which you'll need to rename them and organize them into folders yourself. http://man7.org/linux/man-pages/man1/find.1.html The system that keeps track of folder structures is the file-system table. Removing a file deletes its record from this table, which explains why some tools can restore data but not metadata such as names or directories. You'll have to handle this manually. P.S. I favor Backintime for its snapshot capabilities and efficient storage management.
L
livtheviking
05-15-2016, 03:58 PM #8

You could use the 'find' utility to generate a list of valid recovered image files, after which you'll need to rename them and organize them into folders yourself. http://man7.org/linux/man-pages/man1/find.1.html The system that keeps track of folder structures is the file-system table. Removing a file deletes its record from this table, which explains why some tools can restore data but not metadata such as names or directories. You'll have to handle this manually. P.S. I favor Backintime for its snapshot capabilities and efficient storage management.

K
KameKingPvP
Junior Member
5
05-16-2016, 06:26 AM
#9
Alright, thanks all!
K
KameKingPvP
05-16-2016, 06:26 AM #9

Alright, thanks all!