scripts nodejs pour ranger ses fichiers selon la méthodo PIM de Karl Voit, avec quelques utilitaires personnels
Go to file
Tykayn e1f819d8e3 set debug log, add config option in name reconstruction, clean spaces and underscores 2023-07-04 15:56:15 +02:00
.idea add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
locales add log level, start i18n 2023-07-04 12:08:05 +02:00
testFiles set debug log, add config option in name reconstruction, clean spaces and underscores 2023-07-04 15:56:15 +02:00
workInProgress effective rename for default action 2023-07-03 21:14:31 +02:00
.gitignore ignore modules 2023-07-01 12:48:46 +02:00
LICENSE Initial commit 2023-07-01 12:33:47 +02:00
README.md set debug log, add config option in name reconstruction, clean spaces and underscores 2023-07-04 15:56:15 +02:00
configs.mjs set debug log, add config option in name reconstruction, clean spaces and underscores 2023-07-04 15:56:15 +02:00
create_folders.mjs add config class 2023-07-01 13:20:11 +02:00
finder.mjs set debug log, add config option in name reconstruction, clean spaces and underscores 2023-07-04 15:56:15 +02:00
index.mjs set debug log, add config option in name reconstruction, clean spaces and underscores 2023-07-04 15:56:15 +02:00
jest.config.ts add packages and scripts in package.json 2023-07-01 12:46:34 +02:00
main.test.js fetch sub folder 2023-07-04 15:26:27 +02:00
package-lock.json fetch sub folder 2023-07-04 15:26:27 +02:00
package.json fetch sub folder 2023-07-04 15:26:27 +02:00
setup.mjs fetch sub folder 2023-07-04 15:26:27 +02:00
testFunctions.mjs add demo index 2023-07-01 12:35:33 +02:00

README.md

Devine le rangement

script qui devine comment renommer des fichiers selon un pattern de date trouve des infos exif et prend la plus ancienne pour renseigner le nom de fichier. Inspiré des travaux de Karl Voit et de ses libs python GuessFileName, append2name, move2archive.

Ce script s'utilise selon la méthode de rangement détaillée ici: https://www.cipherbliss.com/organiser-ses-fichiers-avec-des-tags-avec-filetags mais ce n'est pas encore prêt à être utilisé en production.

lancement de renommage

devine mon_fichier.jpg mon_autre_fichier.pdf

➡️ 🎉

## options

  • -n , dry-run, ne pas renommer
  • --photos-folder, spécifie un dossier pour les photos

English

## This is a work in progress

"npm start" gives you a demo of what Rangement can do, but this is not a production ready package yet.

done

  • Handle verbosity levels in logs
    • log.trace(msg)
    • log.debug(msg)
    • log.info(msg)
    • log.warn(msg)
    • log.error(msg)

Roadmap

  • Internationalisation of console texts
  • Proper testing
  • Template configuration for auto dispatching of files after rename
  • Handle a configuration file
    • create config file if needed
  • batch rename like the python pip script "guessfilename"
  • revert renaming actions
    • Log renaming actions