So, here is how I did, basically it's like "faking" a folder in "OneDrive\Pictures"
Syntax: mklink [[/d] | [/h] | [/j]] <Link> <Target>
Example:
Link — "C:\Users\Hilman\OneDrive\Pictures\2015-link"
Target — "D:\Pictures\2015"
- Run a CMD as Administrator
- Type "mklink /j "C:\Users\Hilman\OneDrive\Pictures\2015-link" "D:\Pictures\2015"
- A folder (fake) with name "2015-link" will be created in "C:\Users\Hilman\OneDrive\Pictures", thus will be sync into OneDrive online — You may notice the folder will look like a shortcut icon
What happen then? Well, whenever I saved a photo into "2015-link" folder it will actually save it into "D:\Pictures\2015"... and vise versa. Of course, it will not increase my C:\ drive usage.
For more info about MKLINK parameters, click this.
Note(s):
- Do not create the folder in Link, instead create it in CMD prompt. Otherwise, an error will appears saying "Cannot create a file when that file already exists."
No comments:
Post a Comment