Created
April 16, 2022 17:33
-
-
Save mkeneqa/9da635127eccdbdd11a0ff671a2a446e to your computer and use it in GitHub Desktop.
Sets up monthly directory for current year for media backups
This file contains hidden or 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 | |
YRDIR=$(date +'%Y') | |
mkdir $YRDIR | |
cd $YRDIR | |
mkdir 01_January 02_February 03_March 04_April 05_May 06_June 07_July 08_August 09_September 10_October 11_November 12_December |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment