Skip to content
pzystormPublic

About

Restores original filenames from Windows recyclebin folder under Linux Bash

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages