File: clean.sh

package info (click to toggle)
libsdsl 2.1.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,992 kB
  • sloc: cpp: 42,286; makefile: 1,171; ansic: 318; sh: 201; python: 27
file content (7 lines) | stat: -rwxr-xr-x 169 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
#!/bin/bash
# activate globbing
shopt -s extglob
# removes all but the listed files in the directory
# and subdirectories
rm -rf !(build.sh|clean.sh|.gitignore|..|.)