Created
March 21, 2020 10:15
-
-
Save faizal2007/2f846cc008ed83ed2464bc708b6d46d4 to your computer and use it in GitHub Desktop.
bash iterate jason data from owncloud occ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -u www-data /usr/bin/php -f /var/www/html/owncloud/occ user:list --output=json --attributes=uid | jq 'del(.freakie)' | jq -r 'keys | .[]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment