uci-nextcloud/scanfiles

10 lines
209 B
Bash
Executable File

#!/bin/bash
user=${1:---all}
echo scanning files for $user
read -p "continue? (y) : " ans
if [ $ans == "y" ]; then
docker exec -it -u 82 nextcloud-app ./occ files:scan $user
else
echo command aborted
fi