Well.. I combined this with another script I've made earlier, and here's the result:
downloadFeatures:
- Creates separate archives of directories from the source dir
- Adds directory icons into the archives if found
- Handles spaces in dir names
- Progress output on the shell
- If there were errors while archiving, it informs on which dirs it happened
- Can be used with DOpus ("Execute S:archive_dirs.script {s} {d}", output to window)
Usage:
- Execute archive_dirs.script SOURCE DEST
- Important: DEST must end to : or /
Hope it doesn't contain much bugs :)
Edited by jPV on 2022/4/12 18:06:39