https://github.com/mt1006/recyclebinexporter
A simple python script to export Windows recycle bin contents.
https://github.com/mt1006/recyclebinexporter
python recycle-bin windows
Last synced: 11 months ago
JSON representation
A simple python script to export Windows recycle bin contents.
- Host: GitHub
- URL: https://github.com/mt1006/recyclebinexporter
- Owner: mt1006
- Created: 2022-03-21T14:59:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-21T15:01:54.000Z (over 4 years ago)
- Last Synced: 2025-04-01T06:13:39.423Z (over 1 year ago)
- Topics: python, recycle-bin, windows
- Language: Python
- Homepage:
- Size: 70.3 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Recycle Bin Exporter
A simple python script to export Windows recycle bin contents.
- It allows you to export files and directories from the recycle bin without deleting them from it
- It is resistant to name conflicts
- It generates a CSV file with an index of the exported files
# Requirements
- Python 3 (script was tested on version 3.10)
- Required modules: pypiwin32, winshell
```
py -m pip install pypiwin32
py -m pip install winshell
```
# Example CSV file
```
"Recycle bin files index";"Number of elements: 5"
"File name";"Original file name";"Created at";"Deleted at"
"abc";"C:\Users\Damian\Desktop\abc";"[unknown]";"2022-03-21 14:36:58+00:00"
"test.txt";"C:\Users\Damian\Desktop\test.txt";"2022-03-21 14:36:22.847000+00:00";"2022-03-21 14:36:36+00:00"
"test_1.txt";"C:\Users\Damian\Desktop\test.txt";"2022-03-21 14:36:22.847000+00:00";"2022-03-21 14:36:24+00:00"
"123.txt";"C:\Users\Damian\Desktop\123.txt";"2022-03-21 14:36:22.847000+00:00";"2022-03-21 14:36:52+00:00"
"test_1_1.txt";"C:\Users\Damian\Desktop\test_1.txt";"2022-03-21 14:36:22.847000+00:00";"2022-03-21 14:36:44+00:00"
```
