This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail | |
# Update Domeneshop DNS record using DDNS (https://api.domeneshop.no/docs/#tag/ddns) | |
API_KEY="your_apikey" | |
API_SECRET="your_secret" | |
DOMAIN="example.com" | |
SUBDOMAINS=( | |
www | |
subdomain2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@REM This is a script for taking Files in src_folder and move them to dest_root_folder organised under the year and month the image or file was created. | |
@REM For the best preformence install exiftool by Phil Harvey othervise it would use the file's modification date. | |
@echo off | |
setlocal enabledelayedexpansion | |
rem Source folder containing images | |
set "src_folder=C:\Uploads\Camera" | |
rem Destination folder for organizing images | |
set "dest_root_folder=C:\Uploads\Camera\Sorted" |