Skip to content

Restores original filenames from Windows recyclebin folder under Linux Bash

Notifications You must be signed in to change notification settings

pzystorm/unrecycle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

unrecycle

Linux Bash script that reads a Windows recyclebin directory (f.ex. from a mounted windows drive) and restores the files by reading the $I* files and copy the $R* files to a new location with the old file name (before deletion). The original recyclebin folder is untouched. All files are copied to new output folder which is specified as second parameter to the script. The first parameter is the recyclebin folder where to read from.

Syntax

./unrecycle.sh inputfolder outputfolder

f.ex.

./unrecycle.sh /mnt/windowshd/\$RECYCLE.BIN /tmp/\$RECYCLE.BIN-recovery

About

Restores original filenames from Windows recyclebin folder under Linux Bash

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages