summaryrefslogtreecommitdiff
path: root/postpost/del_tildes
blob: 972a75d8f34ca52b96bae1561d9ce3bdf0089563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

for s in $1/*
do
  if [ -d "$s" ]
  then
    $0 $s
  fi
done

for s in $1/*~
do
  if [ -e "$s" ]
  then
    echo "rm $s"
    rm "$s"
  fi
done