Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
project:linuxfun [2016/12/23 01:16] over23 |
project:linuxfun [2017/05/17 13:55] over23 test questions for broken machine added |
||
---|---|---|---|
Line 6: | Line 6: | ||
[[https://over23.github.io/r00t_l4b/useful_linux.html|https://over23.github.io/r00t_l4b/useful_linux.html]] | [[https://over23.github.io/r00t_l4b/useful_linux.html|https://over23.github.io/r00t_l4b/useful_linux.html]] | ||
+ | |||
+ | ===== test machine and scripts ===== | ||
+ | [[test questions]] | ||
+ | |||
+ | [[broken machine]] | ||
===== parse IRC logs only for http - example ===== | ===== parse IRC logs only for http - example ===== | ||
Line 66: | Line 71: | ||
{{ :project:siroky_vtip.jpg?800}} | {{ :project:siroky_vtip.jpg?800}} | ||
+ | ====== FFMPEG convert script ====== | ||
+ | #!/bin/bash -x | ||
+ | for f in *.mp4 | ||
+ | do | ||
+ | soubor="/Users/pavouk/Movies/xxx/$f" | ||
+ | soubor2="/Users/pavouk/Movies/xxx_h265/$f" | ||
+ | /usr/local/bin/ffmpeg -i ${soubor} -c:v libx265 -preset medium -codec:a aac -strict experimental -b:a 128k ${soubor2} | ||
+ | done | ||
+ | |||
+ | ====== Get a rid of spaces in dir ====== | ||
+ | for f in *\ *; do mv "$f" "${f// /_}"; done | ||