Added a couple of scripts to do with music
This commit is contained in:
4
misc_scripts/music_rsync.rsync
Normal file
4
misc_scripts/music_rsync.rsync
Normal file
@@ -0,0 +1,4 @@
|
||||
# These are the settings I think are appropriate - I did use to use --ignore-times, I can't remember why
|
||||
# I note I'm still getting some errors on this, but I think that could be because some of the music files are owned by root
|
||||
|
||||
rsync --archive --no-perms --no-owner --no-group --recursive --verbose /home/arthurr/Music/* arthurr@truenas.local:/mnt/Bertha/Music
|
||||
3
misc_scripts/picard_dates_with_dots.txt
Normal file
3
misc_scripts/picard_dates_with_dots.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
$if2(%albumartist%,%artist%)/
|
||||
$if(%albumartist%,$if(%date%,$replace(%date%,-,.) - )%album%/,)
|
||||
$if($gt(%totaldiscs%,1),$if($gt(%totaldiscs%,9),$num(%discnumber%,2),%discnumber%)-,)$if($and(%albumartist%,%tracknumber%),$num(%tracknumber%,2) ,)$if(%_multiartist%,%artist% - ,)%title%
|
||||
Reference in New Issue
Block a user