https://github.com/josh-wong/remove-copy-folder-scripts
These scripts are for removing an existing folder and then copying a folder with up-to-date files. Works best if automating the scripts by using Task Scheduler in Windows.
https://github.com/josh-wong/remove-copy-folder-scripts
automation material-for-mkdocs python script
Last synced: 5 months ago
JSON representation
These scripts are for removing an existing folder and then copying a folder with up-to-date files. Works best if automating the scripts by using Task Scheduler in Windows.
- Host: GitHub
- URL: https://github.com/josh-wong/remove-copy-folder-scripts
- Owner: josh-wong
- License: mit
- Created: 2022-07-03T05:46:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-01T09:48:38.000Z (over 1 year ago)
- Last Synced: 2024-10-30T07:05:15.278Z (over 1 year ago)
- Topics: automation, material-for-mkdocs, python, script
- Language: Python
- Homepage: https://josh-wong.github.io/remove-copy-folder-scripts/
- Size: 3.01 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# remove-folder and copy-folder scripts🤖
By using the **remove-folder** and **copy-folder** scripts and configuring each script as a task in Task Scheduler in Windows, you can automate the process of copying files from one folder into another folder on Windows.
- **remove-folder script:** Deletes the existing folder specified in the script. The folder name you want to delete should match the name of the folder you want to copy in the **copy-folder** script.
- **copy-folder script:** Copies the folder specified in the script to the location specified in the script.
These scripts can be particularly helpful for when you want to automatically back up folders at a specific time.
> **Warning**
>
> These scripts only run properly if the destination (dest) path doesn't already exist. If the folder with the same name exists, this script will not run properly.