X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Farchival%2Fcompare_backup_drive.sh;h=4f36ceb4e03e656b64f1c845fef669e60de38382;hb=78260fb9e066ca6e391494b567b2758073491edc;hp=501bfc9795ecc7feb1162ff3974fb9542c0e7921;hpb=7a7838e8e231895336fad4e2920b0bba40ee68cc;p=feisty_meow.git diff --git a/scripts/archival/compare_backup_drive.sh b/scripts/archival/compare_backup_drive.sh index 501bfc97..4f36ceb4 100644 --- a/scripts/archival/compare_backup_drive.sh +++ b/scripts/archival/compare_backup_drive.sh @@ -22,7 +22,7 @@ echo would do-- compare_dirs "$target/$(basename $currdir)" "$currdir" # decide which drive to compare. targets="$1" if [ -z "$targets" ]; then - targets=($($(which ls) -1 /media/$USER/*)) + targets=($($(whichable ls) -1 /media/$USER/*)) if [ ${#targets[@]} -gt 1 ]; then echo " Please provide a media drive name on the command line, because more than