Timeline for How to copy a shared folder into my own Google Drive?
Current License: CC BY-SA 4.0
33 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 7 at 13:45 | comment | added | sazary | encountered the same problem as @sukhmel . the folder i want to copy has only goggle docs in it, so may be related to what Joao said. since this answer is for 4 years ago, is there any solution as of now? | |
Jun 11, 2023 at 18:32 | comment | added | huyz |
Suggestion: change cp -r to cp -a so that metadata such as the modification date is preserved
|
|
May 18, 2023 at 20:07 | review | Suggested edits | |||
Aug 17, 2023 at 12:55 | |||||
May 18, 2023 at 16:39 | comment | added | João Pesce | @sukhmel yeah, it doesn't work for Google files (sheets, docs, presentation etc.) | |
S Nov 12, 2021 at 6:41 | history | edited | Sathyajith Bhat | CC BY-SA 4.0 |
Clarifying the path used to run the cp command from, defined in the shortcut creation step
|
S Nov 12, 2021 at 6:41 | history | suggested | Marcos Couto | CC BY-SA 4.0 |
Clarifying the path used to run the cp command from, defined in the shortcut creation step
|
Oct 26, 2021 at 5:29 | comment | added | Lokesh | It worked. Thank a ton. Can't belive GDrive doesn't have a way to copy shared folder. | |
Sep 29, 2021 at 19:37 | review | Suggested edits | |||
S Nov 12, 2021 at 6:41 | |||||
Jul 13, 2021 at 19:30 | comment | added | Leor |
Looks like the shortcut is no longer necessary, directly referencing the source folder in the !cp worked fine for me.
|
|
Jul 13, 2021 at 18:08 | comment | added | andresito | I think this is a good working option, but when you have a folder with many GBs or TBs of data, the notebook instance will time out at 12 hrs as seen here | |
Jul 12, 2021 at 13:19 | review | Suggested edits | |||
Jul 27, 2021 at 14:10 | |||||
Jun 26, 2021 at 16:41 | comment | added | Victor Valente | @AlexJohnson This still works (I'm doing it right now), and the fact that in 2021 this is the only plausible solution for copying a shared folder is just preposterous. | |
Jun 7, 2021 at 9:13 | comment | added | Alex Johnson |
Does this still work? When I pass pwd in Step 6, working directory is listed as /gdrive/Shareddrives/example-folder/example-sub-folder
|
|
Apr 14, 2021 at 12:27 | comment | added | Andrew Anderson |
!cp -r 'above-copy-path/.' '/gdrive/My Drive/destinantion-path' looks like a spare whitespace in 'My Drive', should be 'MyDrive' anyway, AWESOME trick
|
|
Apr 3, 2021 at 1:05 | review | Suggested edits | |||
Apr 5, 2021 at 13:31 | |||||
Mar 6, 2021 at 16:16 | comment | added | joshfindit |
Quick tip: rsync is also available, though --no-p --no-g --chmod=700 is suggested (rsync may otherwise create folders it can't write to)
|
|
Mar 6, 2021 at 9:13 | review | Suggested edits | |||
Mar 6, 2021 at 17:58 | |||||
S Mar 1, 2021 at 21:02 | history | suggested | philoj | CC BY-SA 4.0 |
Shared folder path is not accessible according to the original answer. Guess google changed something.
|
Feb 24, 2021 at 1:04 | comment | added | Budi Mulyo | need to copy shorcut to my drive first, and create folder, yep it's works, but it's hard with many shared folder to copy,, but thanks, it's works,, | |
Feb 23, 2021 at 13:58 | comment | added | daknowles | @d-b not easily because mounting drive in Colab annoyingly requires user interaction. | |
Jan 19, 2021 at 9:17 | comment | added | Shridutt Kothari | superb worked flawlessly | |
Jan 17, 2021 at 17:08 | review | Suggested edits | |||
S Mar 1, 2021 at 21:02 | |||||
Jan 6, 2021 at 15:36 | comment | added | d-b | Can this be made into a script where you just input src and destination and then execute? | |
S Dec 26, 2020 at 15:34 | history | suggested | Junmin Hao | CC BY-SA 4.0 |
Grammatical fix
|
Dec 23, 2020 at 22:41 | review | Suggested edits | |||
S Dec 26, 2020 at 15:34 | |||||
Nov 20, 2020 at 8:41 | vote | accept | Ionică Bizău | ||
Nov 20, 2020 at 4:40 | comment | added | leetbacoon | Working for me, definitely gets an upvote! | |
Sep 14, 2020 at 16:32 | review | Suggested edits | |||
Sep 18, 2020 at 22:50 | |||||
Jun 11, 2020 at 15:56 | comment | added | sukhmel |
from the very beginning of copying I get a lot of cp: cannot open '/gdrive/.shortcut-targets-by-id/0B7r...Smc/Name-of-shared-folder/subfolder/subfile.gsheet' for reading: Operation not supported with gsheets and gdocs, that seems to defy any usability.
|
|
Apr 24, 2020 at 23:28 | history | edited | marikamitsos | CC BY-SA 4.0 |
added 7 characters in body
|
Apr 24, 2020 at 19:05 | review | Late answers | |||
Apr 24, 2020 at 19:08 | |||||
Apr 24, 2020 at 18:50 | review | First posts | |||
Apr 24, 2020 at 23:28 | |||||
Apr 24, 2020 at 18:49 | history | answered | Hamza Safdar | CC BY-SA 4.0 |