gam config csv_output_header_filter "User,Total" auto_batch_min 1 redirect csv NonShared.csv multiprocess redirect stdout - multiprocess redirect stderr stdout all users print filecounts pm not role owner em pma skip
config csv_output_header_filter "User,Total" - The only columns we want are User and Total
auto_batch_min 1 - turn on parallel processing
redirect csv NonShared.csv multiprocess - Output file, specify multiprocess as we're doing parallel processing
redirect stdout - multiprocess redirect stderr stdout - Clean up the progrss output
all users - everybody
print filecounts - What are we doing
pm not role owner em pma skip - If a file has a permission with a role other than owner, skip it
Shared files
gam config csv_output_header_filter "User,Total" auto_batch_min 1 redirect csv Shared.csv multiprocess redirect stdout - multiprocess redirect stderr stdout all users print filecounts pm not role owner em pma process
config csv_output_header_filter "User,Total" - The only columns we want are User and Total
auto_batch_min 1 - turn on parallel processing
redirect csv NonShared.csv multiprocess - Output file, specify multiprocess as we're doing parallel processing
redirect stdout - multiprocess redirect stderr stdout - Clean up the progrss output
all users - everybody
print filecounts - What are we doing
pm not role owner em pma process - If a file has a permission with a role other than owner, process it
Ross