Automatically sorting shared drive content by creator can streamline organization and improve collaboration. Here’s how you can achieve this in Google Drive, since most shared drives typically refer to that context:
Limitations of Google Drive:
Google Drive doesn’t offer native auto-sorting by creator for shared drives, but there are manual and script-based workarounds.
Manual Method (Using Google Drive Interface)
-
Open your Shared Drive.
-
Switch to “List View” for better visibility.
-
Click the “Last modified” column dropdown and select “Owner”.
-
This will show the file creator (original owner) in that column — sort manually by clicking the column header.
⚠️ This method shows creators but doesn’t auto-sort or group by default.
Automatic Method (Using Google Apps Script)
You can use Google Apps Script to create a script that will:
-
Go through a Shared Drive.
-
Group files by creator.
-
Optionally, move them into subfolders named after each creator.
Sample Script:
Steps to Use:
-
Go to Google Apps Script.
-
Create a new project.
-
Paste the script above.
-
Replace
YOUR_SHARED_DRIVE_ID
with your actual shared drive ID. -
Save and run the script with the necessary permissions.
Third-Party Tools
Alternatively, tools like:
-
Google Workspace Admin SDK
-
File management tools (e.g., SysCloud, AODocs)
…can help automate file organization with more advanced filtering and rule-building features.
Best Practices
-
Use naming conventions with creators’ names.
-
Encourage users to use shared folders labeled with their name.
-
Use Google Drive Activity Dashboard for audit and tracking.
Let me know if you want a version of this script to sort only files created after a specific date or by file type.
Leave a Reply