Morning All,
I have Plex Media Server installed on my Synology. I can currently download movies and/or tv series to my laptop. The downloads are located on my laptop in the folder:
mklink /J C:\Users\xxx\AppData\Local\Plex\Plex Media Server\Sync
(The “xxx” here is a replacement of my laptop’s actual name).
I am running out of room on my C: drive and want to have Plex download the media to the folder Downloads (or some other folder…it makes no difference). The F: drive is another SSD located on my laptop which has tons of space.
I have read just about everything I can read on symlinks but it still doesn’t seem to soak in
I have tried various combinations of the following (using admin permission):
mklink /J C:\Users\xxx\AppData\Local\Plex\Plex Media Server\Sync F:\Downloads
When I enter the above in the CMD, I get “incorrect syntex”
I’m running the latest version of Windows 10 on my Lenovo P52 laptop.
Any help/suggestions would be greatly appreciated.
Thanks
Harold
P.S. I also have a life Plex membership
Looks to me like you’ve switched link and target directories in your command.
I haven’t been using Windows in some time but it seems you’ll need to use the /d option, not /j to create a symbolic link of a directory.
It wouldn’t hurt to surround your paths with quotations. If a path has spaces in it (such as “Plex Media Server”, the shell might think a space is the next argument. Quotes around the entire path will help make sure the command doesn’t suddenly break on a space.
mklink /d “F:\Downloads” “C:\Users\xxx\AppData\Local\Plex\Plex Media Server\Sync”. I always assumed the issues with spaces in paths is why Windows removed a lot of the spaces in paths for “Documents and Settings” and other major folders.
Lastly, I ALSO think that capitalization might matter. “/J” could probably attempt a different command than “/j”. Since there is no official capital “J”, the command is probably failing there.
EDIT: Seems I misread the superuser article on symlinks etc. Junction… IS what you want? Not only that, but the examples the questioner provides seem to support uppercase commands. So *shrug*. Maybe it’s the “spaces”, or maybe you just had the two folders backwards, as tom80H said.
EDIT TO MY EDIT: Further down on the SuperUser article, someone provides the syntax, which claims to be
mklink [/J,/D] [link path] [target path]
This means you did have the incorrect order for your two links. And with /j or /J being the switch you want, the only other thing I can think of is that you simply need to enclose your paths in quotes.
Hey guys (or gals),
Many thanks for the suggestions. The various combinations of suggestions worked. Seems the major issue was me having the target and link incorrect. Swapped these and incorporated the quote marks and everything worked as advertised. I was able to recover over 50 gb on my C drive when everything got xferred to my F drive.
Thanks again,
Harold
Hi All,
I have another, probably related, question/issue. As mentioned above, the symlink command above works great. The media is xferred to the appropriate D: drive. However, I notice that a copy also gets stored in the original location on the C: drive…using space I don’t want consumed. What have I done wrong or is the normal and do I have to manually delete the media on my C: drive? Or…?
Thanks,
Harold