Linking files: all but some? (Wow in Windows/Linux)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Linking files: all but some? (Wow in Windows/Linux)
Probably already answered, but can't find a howto.
I've got a shared (Windows/multiuser Linux) laptop, and I've got installed World of Warcraft and some steam games in Windows.
With steam games, there is (almost) no problems. I've installed steam in Linux, and soft linked the 'steamapps' directory (per-game compatibility is another issue).
With WoW, the problem is different. I would like to have almost (but not) all files. Under World of Warcraft, every file and directory must be linked except the Interface directory and WTF/config.wtf file (so every user can play with their own settings and addons).
How can I have a mix of linked and not linked files without linking every file? If I link manually every file/dir, when updating from Linux other users and Windows Wow is not updated; when updating from Windows, new files remains "unlinked".
If you are speaking of the ln command, as I think that you are, then ... yes, the links must be to individual files and/or directories. You might be able to use a bash-script command-line (see for, find, xargs) to automate the process somewhat.
I don't know this game, but I am mildly surprised that it does not have configuration-settings that point to the different directories, e.g. to accommodate "multiple users."
Not exactly sure what you're asking, but to filter which files are linked you can use 'find' with some arguments. To link all files under the current directory that don't end in '.ctf' would be like this...
you can contour the filter as much as you can contour the find command (a good bit including regexes). To make the links in their own directories would be a bit more work.
I've been sniffing everywhere, and it seems that another choice would be using aufs or unionfs to join two directories, but I'm still looking for a How To on that subject...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.