![]() It is possible in each of the above to throttle them using trickle as well: Gdrive upload -p īecause every file or folder object has its own ID on Google Drive, it is possible to create two objects on there that appear to have the same name though that is sure to cause confusion even if you know what is happening. There also is the option to do a one-way upload and this is the form of the command used: Then, synchronisation uses a command like the following: This gets you something like the following and the required identifier is found between the last slash and the first question mark in the address string (so as not to share any real links, I made the address more general below): Here, the ID for the parent folder may be omitted but it can be obtained by going to Google Drive online and getting a link location by right-clicking on a folder and choosing the appropriate context menu item. Handily, gdrive supports the usual bash style commands for working with remote directories so something like the following will create a directory on Google Drive: Because of a Google Drive limitation that I have encountered not only with gdrive but also with Insync and Google’s own Windows Google Drive client, synchronisation only can happen with two new folders, one local and the other remote. On web servers, I even have the tool backing up things to Google Drive on a scheduled basis. After downloading and installing the tool, getting going is a matter of issuing the following command and following the instructions: One other option that I am exploring is the use of the command-line tool gdrive and this appears to work well with trickle. As rough as the user experience feels, uploads can continue in parallel with other work. Insync does not work smoothly with this, however, so occasional restarts are needed to keep file uploads progressing and CPU load also is higher. In my case, the latter of these hardly matters while the former leaves me with acceptable internet usability. Here, the upload speed is limited to 50 KiB/s while the download speed is limited to 2000 KiB/s. Unfortunately, this is not available in Insync so I have tried using the trickle command instead and an example is below: Ultimately, this makes my internet connection far less usable so I want to throttle upload speed much like what is possible in the Transmission BitTorrent client or in the Dropbox client. This means that upload sessions take numerous hours and can extend across calendar days. Making fewer images could help to cut the load but I still come away from an excursion with many files because I get so besotted with my surroundings. It does not help that I insist on using more flexible raw formats like DNG, CR2 or CR3 either. Having fibre connections to a local cabinet helps but a 100 KiB/s upload speed is easily overwhelmed and digital photo file sizes keep increasing. One drawback to the approach is that this hogs the upload bandwidth of an internet connection that has yet to move to fibre from copper cabling. Part of my process for dealing with new digital photo files is to back them up to Google Drive and I did that with a Windows client in the early days but then moved to Insync running on Linux Mint. ![]() There also are dedicated backup services that I have seen reviewed in the likes of PC Pro magazine but I have to make use of those. ![]() These more correctly are file synchronisation services but disciplined use can make them useful as additional storage facilities in the interests of maintaining added resilience. So, as well as having various local backups, I also have remote ones in the form of OneDrive, Dropbox and Google Drive. Doing regular backups is a must that you find reiterated by many different authors and the current computing climate makes doing that more vital than it ever was. Having had a mishap that lost me some photos in the early days of my dalliance with digital photography, I have been far more careful since then and that now applies to other files as well. Limiting Google Drive upload & synchronisation speeds using Trickle 9th October 2021
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |