Skip to content

Google Housekeeping Script - Remove folders by last modified date.

Notifications You must be signed in to change notification settings

roborobs1023/google-housekeeping

Repository files navigation

Google Husekeeping

TODO: Write a project description

Installation

In order for this script to work it must be implemented at https://script.google.com.

Usage

  1. Set Cull Date Threshold by replacing the 30 in var Threshold with the number of days you wish to allow folders to remain on your google drive. Line: 25
  2. Replace Folder ID in the arrSearchFolders array with one found in the URL of your google drive folder. Line 45
  3. Replace Templates with the folder which contains your template documents. Line: 67
  4. Change email address for recipeint of logs. Line 152
  5. Setup Triggers at https://script.google.com/home/triggers to run DeleteFolderByDate Function on desired schedule.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

TODO: Write history

License

TODO: Write license

This is a test file

About

Google Housekeeping Script - Remove folders by last modified date.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published