NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ReadyNASNVUser
Mar 11, 2020Apprentice
Questions about Sync w/Google Drive - Shortcuts/Links/Files-Folders Added to Multiple Locations?
Google Drive has a nice feature to allow you to link / short-cut / add-to a file or folder in multiple folders at the same time (Shift z when a file/folder is selected brings up the "Add to" dialog,...
ReadyNASNVUser
Mar 21, 2020Apprentice
So my work around to free up all the disk space of all the Google MyDrive symlinked / short cutted / added-to files, without causing Sync with Google Drive to think the files had been deleted, was to install and run rdfind via SSH (aka "Remove Duplicates Find")
You can find the Debian version of rdfind here, with instructions for installing using apt-get (authors website). (ReadyNAS OS is built on Debian version of Linux- took me a while to figure this out so I knew which version of rdfind to install.. so including this info here!)
(A long list of possible alternatives, including rdfind is here)
With rdfind I ran this command first to find out what rdfind woud delete and replace with links:
rdfind -makehardlinks true -dryrun true "/data/<path to GoogleDrive folder>"
rdfind puts a list of what it would do / does in a file "results.txt" (by default... you can change it)
Once you're comfortable run rdfind without the -dryrun option.
For my 2TB of files with over 3/4 being duplicates (long story)... rdfind took 3-4 hours to run on my ReadyNas RN314.
Hope this helps someone...
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!