summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/mvt
blob: 318edf6979723518bcb449d3723dbeee422cd04e (plain)
1
2
3
4
5
6
7
#!/bin/sh
# emulate mv -t, for use with `find ... -exec mvt ... '{}' \+`, more POSIX compliant

dist="$1"
shift
# not use -- here, use -- when use mvt, so I can specify -f or -i switch before -- when use mvt
mv "$@" "$dist"