blob: 6348b678030861ffa6604c5400e551edc99ce6fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env bash
shopt -s nullglob
for arg in $*
do
if [ ! -d "$arg" ]
then
echo "only specify dirs on the cmd line please"
exit 1
fi
find $arg -type f -name "*txt" -exec $HOME/bin/rdate.py '{}' \;
done
|