https://github.com/lahcenezzara/archive-downloads-python
Archive Downloads Python Script
https://github.com/lahcenezzara/archive-downloads-python
archive batch downloads productivity python scripting windows
Last synced: 7 months ago
JSON representation
Archive Downloads Python Script
- Host: GitHub
- URL: https://github.com/lahcenezzara/archive-downloads-python
- Owner: LahcenEzzara
- License: mit
- Created: 2024-07-29T23:39:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-29T23:48:15.000Z (about 1 year ago)
- Last Synced: 2025-01-06T03:43:39.263Z (9 months ago)
- Topics: archive, batch, downloads, productivity, python, scripting, windows
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Archive Downloads Script
A Python script that archives downloads from the `Downloads` folder to a new folder on the desktop, with a unique name based on the current date and time.
## Features
- Archives downloads from the `Downloads` folder to a new folder on the desktop
- Creates a unique folder name based on the current date and time
- Copies all files and folders from the `Downloads` folder to the new archive folder
- Deletes the archived files and folders from the `Downloads` folder## Requirements
- Python 3.x
- Windows 10 (or later)## Usage
1. Save this script as `archive_downloads.py`
2. Create a new batch file `run_archive.bat` with the following contents:```batch
@echo off
echo Starting script...
py "archive_downloads.py"
echo Script finished. Press any key to exit...
pause
```3. Run the batch file by double-clicking on it
4. The script will archive the downloads and delete the archived files and folders from the `Downloads` folder## License
This project is licensed under the MIT License.
**© 2024 Lahcen Ezzara. All rights reserved.**