scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 6000178d98d5074112e6d83a70f76ce720021d09
parent 014eb10ffbe2d4ae9d1969554b2268026274d838
Author: sin <sin@2f30.org>
Date:   Mon,  4 Nov 2013 13:53:40 +0000

Remove unused download files after converting

Diffstat:
Mytget | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/ytget b/ytget @@ -31,4 +31,5 @@ for i in "$@"; do outfile="${infile%.*}.mp3" youtube-dl "$i" -o "/tmp/$infile" convert "/tmp/$infile" "$out/$outfile" + rm "/tmp/$infile" done