diff options
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -203,7 +203,7 @@ function md() { # Encode webm: function webm() { - ffmpeg -i $1 -c:v libvpx -quality good -cpu-used 0 -b:v 7000k -qmin 10 -qmax 42 -maxrate 500k -bufsize 2500k -threads 8 -vf scale=-1:720 -c:a libvorbis -b:a 192k -f webm $1.webm + ffmpeg -i "$1" -c:v libvpx -quality good -cpu-used 0 -b:v 7000k -qmin 10 -qmax 42 -maxrate 500k -bufsize 2500k -threads 8 -vf scale=-1:720 -c:a libvorbis -b:a 192k -f webm "$1".webm } # encode ogg v: function ogv() { @@ -264,7 +264,7 @@ function timer(){ } function markdone(){ - echo '\n@done' >> "$1" + echo "@done - $(date '+%Y-%m-%d')" >> "$1" mkdir -p ~/gtd/done/$(date '+%Y-%m-%d') mv "$1" ~/gtd/done/$(date '+%Y-%m-%d') clear |