Winetricks Location

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
neji49
Newbie
Newbie
Posts: 2
Joined: Tue Feb 22, 2011 4:22 pm

Winetricks Location

Post by neji49 »

I've started experimenting with winetricks of the late, but I've run into an issue. Where does winetricks install all of it's files, I can't find them in the location I specified or anywhere else....
Martin Gregorie

Winetricks Location

Post by Martin Gregorie »

On Sun, 2011-07-10 at 16:40 -0500, neji49 wrote:
I've started experimenting with winetricks of the late, but I've run into an issue. Where does winetricks install all of it's files, I can't find them in the location I specified or anywhere else....
Possibly a more general answer than you're expecting, but knowing this
is generally useful: use 'locate' or 'find'

locate
======
This is fastest, but won't find anything until 'updatedb' has been run
because it searches a database of file names. It is run by a daily
overnight cron job or running 'sudo updatedb' can force it. 'locate
mytarget' will list all absolute file names where 'mytarget' appears
anywhere in the name, so running

locate mytarget | less

is often a good idea.

find
====
Takes longer to run, doesn't use a database and is more flexable. The
equivalent command to the 'locate' example would be:

find / -name mytarget

where the first argument is the root of the file structure you want to
search, in this case '/'. So, if you know the file is in /home you could
use:

find /home -name 'myfile.*'

to find all files matching 'myfile.*' in the /home directories. Note
that you must single quote wildcarded files or you may not get the
results you wanted. Final example:

find /home/myuser -name '*.txt' -exec grep -l 'cameron' {} \;

will list the full path names of all files with a .txt extension that
contain the word 'cameron' within the /home/myuser directory structure,
but it will be relatively slow since it will run grep on every file
whose name matches the -name pattern.


Martin
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Winetricks Location

Post by DanKegel »

neji49 wrote:Where does winetricks install all of it's files, I can't find them in the location I specified or anywhere else....
See
http://code.google.com/p/winetricks/wiki/WhereAppsGo
Locked