This is to keep temporary files I create and forget to delete from polluting my file system. Presumably the target directory could be named anything.
Asked
Active
Viewed 166 times
1 Answers
1
Why not use the standard /tmp directory?
Either directly or via a symbolic link from your home directory.
ln -s /tmp ~
The symbolic link ~/tmp will behave like a directory and its content will be deleted at [re]boot.
sudodus
- 46,324
- 5
- 88
- 152
homebusiness in/. Symbolic link partially alleviates this concern... – Zach_is_my_name Jan 30 '17 at 18:52/tmpis an exception. It is a directory for temporary files, that you can use manually, or via application programs. Many programs are using/tmpfor temporary files. – sudodus Jan 30 '17 at 19:08/tmp, usemktemp– KevinOrr Jan 30 '17 at 19:15/tmp, as many as you wish. – sudodus Jan 30 '17 at 20:39ln -s /tmp ~/somedir– Mark Kirby Jan 30 '17 at 21:27newfiles nwherenewfilesis a script andnis the number of days back to be checked formtime. – sudodus Jan 31 '17 at 05:15