blob: f25c75f28b3aa52323185c580e456f7283585785 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
btrcat()
{
[ $# -ge 2 ] || return
local src dst
dst=${!#}
truncate -s0 "$dst" || return
while [ $# -ge 2 ]
do
src=$1
ficlonerange.py "$src" "$dst" || return
shift
done
}
set -e
which ficlonerange.py >/dev/null
btrcat "$@"
|