ccomp tail etail etail2
+showkeys() {
+ ssh "$@" cat .ssh/authorized_keys{,2}
+ }
# print exim old pids
-o -name .undo-tree-history -prune \) -type f 2>/dev/null
}
+# usage ffconcat FILES_TO_CONCAT OUTPUT_FILE
+ffconcat() {
+ local tmpf
+ tmpf=$(mktemp)
+ printf "file '%s'\n" "$1" >$tmpf
+ while (( $# > 1 )); do
+ shift
+ printf "file '%s'\n" "$1" >>$tmpf
+ done
+ # https://trac.ffmpeg.org/wiki/Concatenate
+ ffmpeg -f concat -safe 0 -i $tmpf -c copy "$1"
+ rm $tmpf
+}
+
# full path without resolving symlinks
fp() {
local dir base