build files for making podman containers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

9 lines
212 B

#!/bin/bash
if [[ -n $1 ]]; then
nc-occ files:scan --path="/$1/files/"
else
for user in $(nc-occ user:list --output=json | jq -r 'keys[]'); do
nc-occ files:scan --path="/$user/files/"
done
fi