rangement/development.sh

12 lines
574 B
Bash
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#/bin/bash
#
# -------------------------
# this should work for dev purposes
# alias should be set in you bash aliases files:
#
# alias range="ts-node /home/poule/encrypted/stockage-syncable/www/development/html/rangement/index.ts --dry-run=true "
# -------------------------
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.