bitreich-drist

fork of bitreich.org/drist
git clone git://git.pyratebeard.net/bitreich-drist.git
Log | Files | Refs | README | LICENSE

commit 7cf4346ecfc60772ce096dc403276009794209cd
parent 89768c14b72f90125d7e6803308458baf094aabc
Author: Solene Rapenne <solene@perso.pw>
Date:   Thu, 29 Nov 2018 18:30:26 +0100

enhance visual of copied file list

Diffstat:
Mdrist | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drist b/drist @@ -50,7 +50,7 @@ copy_files() { if [ -f "$LIST" ] then printf 'Copying files from folder "%s":\n' "$1" - find "${1}"/ -type f | cut -d '/' -f 2- | tee "${LIST}" | sed 's/^/ /' + find "${1}"/ -type f | cut -d '/' -f 2- | tee "${LIST}" | sed 's/^/ \//' if [ "$SIMULATE" -ne 1 ] then rsync --rsync-path="${EXEC} rsync" -lD --files-from="${LIST}" "${1}/" "${2}":/