Create a toplevel delete-later dir and put databases/ and admin/ into it

This commit is contained in:
Jon Trulson
2021-07-03 19:30:22 -06:00
parent 7961d9e2da
commit 39d3a67701
103 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#! /bin/sh
#
# Script to move all link refereces in a ".lst" file
# to the end of the file.
#
USAGE="Usage: $0 file.lst"
case $# in
0) echo "$USAGE";;
1);;
*) echo "$USAGE";;
esac
awk '
/hard_link|sym_link/ { links[i++] = $0 ; next; }
{ print $0 }
END {
if ( i > 0 )
for ( i in links) print links[i];
}
' "$@"