minor update
This commit is contained in:
parent
c91c0a184a
commit
ae8ba45b84
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
BASEDIR=`pwd`
|
BASEDIR=`pwd`
|
||||||
|
|
||||||
usage="Execute a command in each subdirectory:\n\nUsage: $0 [-p | print subdir info] \"command\""
|
|
||||||
|
|
||||||
# More safety, by turning some bugs into errors.
|
# More safety, by turning some bugs into errors.
|
||||||
# Without `errexit` you don’t need ! and can replace
|
# Without `errexit` you don’t need ! and can replace
|
||||||
@ -44,7 +43,8 @@ while true; do
|
|||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
-h|--help)
|
-h|--help)
|
||||||
echo -e "Execute a command in each subdirectory:\n\nUsage: $0 [-p(--print-subdir) -e(--exclude) dir1, dir2,...,dirn)] \"command\""
|
echo -e "NAME\n\tineach - executes a command in each subdirectory"
|
||||||
|
echo -e "SYNOPSIS\n\tineach [-p, --print-subdir] [-e, --exclude dir1,dir2,...,dirn] \"command\""
|
||||||
exit 0
|
exit 0
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
|
|
||||||
REPLACE_FOLDERS="Audio Bilder data Dokumente Downloads eclipse Musik prj Schreibtisch Videos choords"
|
REPLACE_FOLDERS="Audio Bilder data Dokumente Downloads eclipse Musik prj Schreibtisch Videos"
|
||||||
|
|
||||||
|
|
||||||
echo The following folders will be deleted:
|
echo The following folders will be deleted:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user