File: clean_rm-common-NN.old

package info (click to toggle)
oscar 1.5.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,500 kB
  • sloc: cpp: 80,911; ansic: 6,910; python: 1,727; sh: 1,044; xml: 150; javascript: 74; makefile: 34; awk: 18
file content (16 lines) | stat: -rwxr-xr-x 276 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

# begin common script shell
# delete all the folder not deleted by the purge command

echo "appli_name=${appli_name}"

list=$(find /usr -name ${appli_name} 2>/dev/null)

for folder in $list
do
   echo "to delete : '$folder'"
   rm -r $folder
done

# end common script shell