Organiza fotos e vídeos automaticamente em pastas por fabricante/dispositivo/ano/mês/dia, usando metadados EXIF.
DEST_DIR=/caminho/destino ./sortfiles-exiftool-v2.sh [--dry-run] <arquivo_ou_diretório>| { | |
| "name": "EPOMAKER TH40", | |
| "vendorProductId": 839864405, | |
| "macros": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""], | |
| "layers": [ | |
| [ | |
| "KC_TAB", | |
| "KC_Q", | |
| "KC_W", | |
| "KC_E", |
| #!/usr/bin/env bash | |
| # --- | |
| #!/bin/bash -x | |
| echo -e "### WELCOME TO $0\n" | |
| if [[ -z ${DEST_DIR} ]] | |
| then | |
| TIMESTAMP=$(date +%s) | |
| echo -e "Setting destination dir as ${TIMESTAMP}" |
| #!/usr/bin/env bash | |
| setvars() | |
| { | |
| ORIGIN_PATH="." | |
| DESTIN_PATH="." | |
| Full_File_Path="." | |
| File_Year="0001" | |
| File_Month="01" |
| #!/usr/bin/env python3 | |
| ### WARNING CODE IS INCOMPLETE | |
| # NEED TO PUT ARGUMENT PARSING ON A TRY/CATCH STRUCTURE | |
| # Sortfiles is a simple script that reads the creation date of a JPG or CR2 file, creates a directory structure of Year/Month/Day and then moves it to this destation directory. | |
| # Libs | |
| import os |
| #!/bin/bash | |
| # fluxcontrol.sh | |
| # Script para mostrar como se controla o fluxo com base no código de erro de outro script | |
| # Autor: Eduardo Lisboa <eduardo.lisboa@gmail.com> | |
| # Chame o script 1 normalmente: | |
| # $ script1.sh | |
| # Dentro dele, ao chamar o script2, utilize o seguinte controle: | |
| if script2.sh | |
| then |
| -----BEGIN PGP SIGNED MESSAGE----- | |
| Hash: SHA256 | |
| 11111 a | |
| 11112 aa | |
| 11113 aaa | |
| 11114 aaaa | |
| 11115 ab | |
| 11116 aba | |
| 11121 abaco |
| ### Keybase proof | |
| I hereby claim: | |
| * I am elisboa on github. | |
| * I am elisboa (https://keybase.io/elisboa) on keybase. | |
| * I have a public key ASBae1y0L7QLHVyyxKSiV2BnjfEg6levcx9KW-wLm9vGFQo | |
| To claim this, I am signing this object: |