stuff
This commit is contained in:
parent
0d066a8431
commit
d22124b151
|
@ -19,7 +19,7 @@
|
||||||
pkgs.opusTools
|
pkgs.opusTools
|
||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
src=$(realpath -- "$1")
|
src=$1
|
||||||
dst=$src
|
dst=$src
|
||||||
dst=''${dst%.flac}.opus
|
dst=''${dst%.flac}.opus
|
||||||
dst=/srv/compmusic/''${dst#/srv/music/}
|
dst=/srv/compmusic/''${dst#/srv/music/}
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
clean = pkgs.writeShellApplication {
|
clean = pkgs.writeShellApplication {
|
||||||
name = "clean";
|
name = "clean";
|
||||||
text = ''
|
text = ''
|
||||||
del=$(realpath -- "$1")
|
del=$1
|
||||||
chk=$del
|
chk=$del
|
||||||
chk=''${chk%.opus}.flac
|
chk=''${chk%.opus}.flac
|
||||||
chk=/srv/music/''${chk#/srv/compmusic/}
|
chk=/srv/music/''${chk#/srv/compmusic/}
|
||||||
|
|
Loading…
Reference in a new issue