begin rename from .sh to ""
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
64824cb3b1
commit
9819c718b1
18 changed files with 19 additions and 19 deletions
30
tools/README
30
tools/README
|
@ -1,19 +1,19 @@
|
||||||
Files and their tasks / destinations:
|
Files and their tasks / destinations:
|
||||||
|
|
||||||
ccollect_add_source.sh: bin
|
ccollect_add_source: bin
|
||||||
ccollect_analyse_logs.sh: bin
|
ccollect_analyse_logs: bin
|
||||||
ccollect_create_source2.sh: ???
|
ccollect_create_source2: ???
|
||||||
ccollect_create_source.sh: ???
|
ccollect_create_source: ???
|
||||||
ccollect_delete_source.sh: bin
|
ccollect_delete_source: bin
|
||||||
ccollect_list_intervals.sh: bin
|
ccollect_list_intervals: bin
|
||||||
ccollect_logwrapper.sh: bin
|
ccollect_logwrapper: bin
|
||||||
ccollect-stats.sh: ???
|
ccollect-stats: ???
|
||||||
config-pre-0.4-to-0.4.BUGS: only to be used for converting
|
config-pre-0.4-to-0.4.BUGS: only to be used for converting
|
||||||
config-pre-0.4-to-0.4.sh: only to be used for converting
|
config-pre-0.4-to-0.4: only to be used for converting
|
||||||
config-pre-0.4-to-0.4.sub.sh: only to be used for converting
|
config-pre-0.4-to-0.4.sub: only to be used for converting
|
||||||
config-pre-0.6-to-0.6.sh: only to be used for converting
|
config-pre-0.6-to-0.6: only to be used for converting
|
||||||
config-pre-0.6-to-0.6.sub.sh: only to be used for converting
|
config-pre-0.6-to-0.6.sub: only to be used for converting
|
||||||
config-pre-0.7-to-0.7.sh: only to be used for converting
|
config-pre-0.7-to-0.7: only to be used for converting
|
||||||
config-pre-0.7-to-0.7.sub.sh: only to be used for converting
|
config-pre-0.7-to-0.7.sub: only to be used for converting
|
||||||
gnu-du-backup-size-compare.sh
|
gnu-du-backup-size-compare
|
||||||
README
|
README
|
||||||
|
|
|
@ -58,7 +58,7 @@ _echo "Starting with arguments: $@"
|
||||||
touch "${ccollect_logfile}" || _exit_err "Failed to create ${ccollect_logfile}"
|
touch "${ccollect_logfile}" || _exit_err "Failed to create ${ccollect_logfile}"
|
||||||
|
|
||||||
# First line in the logfile is always the commandline
|
# First line in the logfile is always the commandline
|
||||||
echo ccollect.sh "$@" > "${ccollect_logfile}" 2>&1
|
echo ccollect "$@" > "${ccollect_logfile}" 2>&1
|
||||||
ccollect.sh "$@" >> "${ccollect_logfile}" 2>&1
|
ccollect "$@" >> "${ccollect_logfile}" 2>&1
|
||||||
|
|
||||||
_echo "Finished."
|
_echo "Finished."
|
|
@ -30,7 +30,7 @@ if [ $# -ne 1 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dir="$1"
|
dir="$1"
|
||||||
script=$(echo $0 | sed 's/\.sh$/.sub.sh/')
|
script="${0}.sub"
|
||||||
|
|
||||||
find "${dir}/sources/" -type f -name rsync_options -exec "${script}" {} \;
|
find "${dir}/sources/" -type f -name rsync_options -exec "${script}" {} \;
|
||||||
|
|
|
@ -29,7 +29,7 @@ if [ $# -ne 1 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dir="$1"
|
dir="$1"
|
||||||
script=$(echo $0 | sed 's/\.sh$/.sub.sh/')
|
script="${0}.sub"
|
||||||
|
|
||||||
find "${dir}/sources/" -name destination -exec "${script}" {} \;
|
find "${dir}/sources/" -name destination -exec "${script}" {} \;
|
||||||
|
|
Loading…
Reference in a new issue