Forums

Sym link play on linux?

Auteur Réponses
morrosis Samedi 14 Mars 2015 à 9:11
morrosisAnonymous

Hi,

Is it still possible to sym link Play on linux to a different location? I only have a small main drive but a 2tb drive I use for games and such. 

 

I found this on the forums and wanted to know if it still works? 

 

1. Be sure PlayOnLinux is not running
2. Doing some backups at that point can't hurt
3. Move ~/.PlayOnLinux to the target filesystem, using some tool that, again, preserves all POSIX filesystem semantics. Copy then remove will give you some extra safety, so I suggest:
3a. use GNU's cp -a; Say you want to move PlayOnLinux's files inside /mnt/extradisk/mysecondhome/, type 
[code=console]$ cp -av ~/.PlayOnLinux /mnt/extradisk/mysecondhome/[/code] (using tar, cpio, and other unixish backup softwares should do, if you prefer using those). 
3b. Once you're confident the files have been moved over, rm -rf the source directory:
[code=console]$ rm -rf ~/.PlayOnLinux[/code]
4. Put a symlink where the source was, pointing to the new location. Example, say you moved ~/.PlayOnLinux to /mnt/extradisk/mysecondhome/.PlayOnLinux, then use [code=console]$ ln -s /mnt/extradisk/mysecondhome/.PlayOnLinux ~/.PlayOnLinux[/code]

petch Samedi 14 Mars 2015 à 9:20
petch

morrosis Samedi 14 Mars 2015 à 10:00
morrosisAnonymous

Worked like a charm, also the donate page doesn't seem to work?> 

petch Lundi 23 Mars 2015 à 1:11
petch