Skip to content

Commit 4da8ed7

Browse files
author
Aleksandar Todorović
committed
New script: music-to-subfolders.sh
1 parent 1439cac commit 4da8ed7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

music-to-subfolders.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
current_date=$(date +%Y-%m)
4+
mkdir -p ~/music/$current_date
5+
6+
cd ~/dnlds
7+
mv *.mp3 *.wav *.flac *.m4a ~/music/$current_date

0 commit comments

Comments
 (0)