Shull, Daniel wrote:
> Alias and query history are written to various files in the=20
> .squirrel-sql folder.
>=20
> The =91default=92 SQuirreL 2.1f created .squirrel-sql on the C-drive of=
the=20
> PC I=92m using.
>=20
> Sometimes I move from workstation to workstation.
>=20
> I=92d like my alias/query history to move with me so I don=92t have to=20
> re-create it from scratch each time I use a new workstation.
>=20
> I figured out one way this can be done is if I copy .squirrel-sql to th=
e=20
> same location on each C-drive.
>=20
> Can I copy .squirrel-sql to a network drive then repoint SQuirreL to=20
> this location instead?
>=20
> Then I wouldn=92t have to download .squirrel-sql to each new C drive.
>=20
> Can I do this by modifying the path in user.home?
>=20
> If so how??
Have a look at the '-userdir' option from the first page of the online he=
lp:
Command Line Options
The behaviour of SQuirreL can be changed by passing various arguments to =
it.
squirrel-sql.sh [options]
or
squirrel-sql.bat [options]
Options:
-userdir,--user-settings-dir <userdir> User settings directory
-l,--log-config-file <config-file> Logging configuration file
-home,--squirrel-home <home> SQuirreL home directory
-n,--native-laf Use native look and feel
-nop,--no-plugins Don't load plugins
-nos,--no-splash Don't display splash screen
-m,--use-default-metal-theme Use default metal theme
-h,--help Display Help and exit
-userdir specifies where SQuirreL stores its per-user settings such as=20
application preferences etc. This defaults to <home>/squirrel-sql.
-home specifies the directory that SQuirreL was installed into. It is=20
setup during the installation process. You should never need to change=20
this argument.
Maury
|