rangement/development.sh

12 lines
574 B
Bash
Raw Permalink Normal View History

2023-07-19 10:57:07 +02:00
#/bin/bash
#
# -------------------------
# this should work for dev purposes
# alias should be set in you bash aliases files:
#
2023-07-19 12:32:13 +02:00
# alias range="ts-node /home/poule/encrypted/stockage-syncable/www/development/html/rangement/index.ts --dry-run=true "
2023-07-19 10:57:07 +02:00
# -------------------------
range /home/poule/encrypted/stockage-syncable/www/development/html/rangement/testFiles/misnamed_file/2000-01-01T01.01.01\ FyB8cZnWIAc21rw\ --\ meme.jpg
# you should see that the debug logs find a misnamed file name
# and want to rename it to the 2023 date of modification, not the 2000 year date.