What's this file. - /tmp/magick-XXXXXXXX

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
whxoans

What's this file. - /tmp/magick-XXXXXXXX

Post by whxoans »

Hi there.

I've got this situation when image converting :

[mtr@mts8 tmp]$ ls -alh
total 8.8G
drwxrwxrwt 8 root root 4.0K Jun 30 08:26 .
drwxr-xr-x 33 root root 4.0K Jun 17 00:45 ..
drwxrwxrwt 2 root root 4.0K Jun 17 00:45 .ICE-unix
-r--r--r-- 1 root root 11 Jun 17 00:46 .X0-lock
drwxrwxrwt 2 root root 4.0K Jun 17 00:46 .X11-unix
drwxrwxrwt 2 root root 4.0K Jun 17 00:46 .font-unix
srw-rw-rw- 1 root root 0 Jun 17 00:46 .gdm_socket
drwxr-xr-x 2 root root 4.0K Nov 26 2007 agent
drwxr-xr-x 2 mtr mtr 4.0K Jun 26 10:21 hsperfdata_mtr
drwx------ 2 root root 4.0K Jan 15 14:55 keyring-eEzCAk
-rw------- 1 mtr mtr 23G Jun 30 08:26 magick-XXEZfZ4m
srwxr-xr-x 1 root root 0 Apr 8 15:28 mapping-root
[mtr@mts8 tmp]$ pwd
/tmp

'mtr' is account using IM converting Lib.
Can you tell me what is that file? : magick-XXXXXXXX
I wonder that what is an aim for this file and where is recorded place(source level)for this file.

thanks.
Tae-moon.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: What's this file. - /tmp/magick-XXXXXXXX

Post by anthony »

It is a temporary file IM created for some purpose. If you no longer have IM running it can be deleted. They can sometimes be left behind if Im is abnormally aborted.

You can also specify what 'tmp' directory IM should use using various environment variables. See 'resources' on the main IM website.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
whxoans

Re: What's this file. - /tmp/magick-XXXXXXXX

Post by whxoans »

Thanks for your response. :D

What I wonder one more that when does these case face the phenomenon frequently?
Post Reply