folder-to-folder comparison to validate that re-uploaded data matches

14 views
Skip to first unread message

Rohit Talmale

unread,
10:04 AM (11 hours ago) 10:04 AM
to GAM for Google Workspace

Hi, Ross.

Following our recent migration and re-upload of missing files/folders, we need to verify data parity between two folders in a Google Shared Drive.

Could you please share the command or script to compare both folders and generate a report showing any missing or mismatched files?

Thanks! in advance

Ross Scroggs

unread,
11:36 AM (10 hours ago) 11:36 AM
to google-ap...@googlegroups.com
Start here:

gam redirect csv ./Folder1List.csv user us...@domain.com print filelist select <Folder1ID> fields name,mimetype,size

gam redirect csv ./Folder2List.csv user us...@domain.com print filelist select <Folder2ID> fields name,mimetype,size


Use an OS command to compare the two files

Linux.macOS: diff Folder1List.csv Folder2List.csv

Windows: fc Folder1List.csv Folder2List.csv


Ross


----
Ross Scroggs



CONFIDENTIALITY NOTE: This electronic message (including any attachments) may contain information that is privileged, confidential, and proprietary. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is strictly prohibited. If you received this electronic message in error, please immediately reply to the sender that you have received this communication and destroy the material in its entirety, whether in electronic or hard copy format. Although Rivian has taken reasonable precautions to ensure no viruses are present in this email, Rivian accepts no responsibility for any loss or damage arising from the use of this email or attachments.

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/c640a495-36c7-43bc-8b03-348154148e40n%40googlegroups.com.

Rohit Talmale

unread,
11:50 AM (9 hours ago) 11:50 AM
to google-ap...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages