ericyd / gdrive-copy

Web app to copy a Google Drive folder
https://script.google.com/macros/s/AKfycbxbGNGajrxv-HbX2sVY2OTu7yj9VvxlOMOeQblZFuq7rYm7uyo/exec
MIT License
1.58k stars 343 forks source link

Implementing 2 features, have 2 questions. #168

Open newbieh4cker opened 4 years ago

newbieh4cker commented 4 years ago

I'm trying to implement some features.

add 'total copied in gigabytes' section to 'copy log' file add account changer and set 'MAX_RUN_TIME', 'MAX_RUN_TIME_PER_DAY' automatically

to do that, i have some questions.

  1. Why did you revert commit for the "quota manger" ??

  2. Where is code for creating google spreadsheet 'copy log~~' ?? -> i found code for writing copied status to log file -> but couldn't find code for headers(= spreadsheet row with "progress, completed at, link to new folder, total files copied, donate bitcoin, app didn't work, please rate & review"

ericyd commented 4 years ago
  1. not sure, I wish I would have left a note in the PR. Most likely it broke something that I couldn't immediately fix.
  2. The sheet is actually just a regular Google sheet that I've made public in my account and the app copies the sheet when it initializes. Here's where the sheet ID is declared and here's where the file is copied