Sample Header Ad - 728x90

Is there some interactive analogue of `mktemp` that helps to organize throw-away directories?

7 votes
3 answers
1894 views
I often want a temporary directly where I can unpack some archive (or create a temporary project), see around some files. It is unpredictable in advance for how much time a particular directory may be needed. Such directories are often clutter home directory, /tmp, project directories. They often have names like some weak passwords, like qqq, 1, test that become undescriptive a month after. Is there some shell command or external program that can help manage such throw-away directories, so that they get cleaned up automatically when I lose interest in them, where I don't need to invent a name for them, but that can be given a name and made persistent easily? If there is no such tool, is it a good idea to create one?
Asked by Vi. (5985 rep)
Jul 13, 2021, 10:30 PM
Last activity: Jul 21, 2021, 09:27 AM