Re: Temporary Files Rant



The Ghost In The Machine wrote:

File workFile = File.createTempFile("~myapp", ".temp");
workFile.deleteOnExit();

:-)

I'm not sure where it will put the result in Windows; on
Linux it stuck it in /tmp. The generated numbers appear
to have no real intelligent relationship with the process
ID or with anything else that's obvious.

As we germans say: Wowereit
If you can predict names of temporary files, you can do
some nice hacking.


Regards, Lothar
--
Lothar Kimmeringer E-Mail: spamfang@xxxxxxxxxxxxxx
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)

Always remember: The answer is forty-two, there can only be wrong
questions!
.



Relevant Pages

  • Re: Linux fedora core 4 ... GRUB loading stage2... booting message
    ... >> Was this a clean install or did you do an upgrade?? ... Do Not use ghost on any Linux ... Became so popular for cloning Windows system ...
    (linux.redhat.install)
  • Re: To be M$ free....
    ... being "stuck" with it. ... Linux, yet that still does not get acknowledged. ... consider that I dislike Windows any more than I do Linux, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Backup
    ... Für Windows gibt es Norton Ghost zum Erstellen von ... gibt es etwas ähnliches auch für Linux? ... Burn it to CD, boot from the CD, mount a partition to backup to, and then ... invoke Partimage to 'Ghost' it to your backup partition. ...
    (alt.os.linux.suse)
  • Re: Canonical Ubuntu splits from GNOME over design issues
    ... All the work that has been put in to Linux to get it to look close to M$ ... The first time I booted a Ubuntu Linux, it was too Windows like for ... Ubuntu a few weeks ago just to see what it looked like now and to see ... who seem to be stuck in the M$ universe. ...
    (Ubuntu)
  • Re: To be M$ free....
    ... that MS is providing a Good Thing, and STILL one complains about ... being "stuck" with it. ... Linux, yet that still does not get acknowledged. ... that Windows wasn't better than the alternatives because I flat out don't ...
    (Debian-User)