blob: f8c489d1f1e77de73a1fb940889800f6aeaefe8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
if [ $# -eq 0 ]
then
echo "Usage: $0 DIR..."
fi
tmp_file="$(mktemp)"
for dir in "$@"
do
find "$dir" -type f -fprint "$tmp_file"
done
cat "$tmp_file" | uniq -u | xargs -d '\\n' ftag file add
|