What can i delete from /tmp without problems?
My camscript doesnt work any more because it cant save screenshots to /tmp because theres not enough disk space
Domoticz is installed on a raspberry pi
Please help
Im a noob in this stuff
Thanks
Remove from tmp?
Moderators: leecollings, remb0
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Remove from tmp?
/tmp is the directory where processes can store their temp files. So you can remove all files that are created by processes no longer active.edwin1234 wrote: Monday 02 July 2018 13:27 What can i delete from /tmp without problems?
My camscript doesnt work any more because it cant save screenshots to /tmp because theres not enough disk space
Domoticz is installed on a raspberry pi
Please help
Im a noob in this stuff
Thanks
On most linux systems user files and directory's will be removed from the /tmp directory during a reboot
commands you can use to delete old files from /tmp
tmpdir="/tmp"
sudo find $tmpdir/* -mtime +7 -exec ls -l {} \; # list all files with a modification date of 7 days ago and earlier in /tmp dir
sudo find $tmpdir/* -mtime +7 -exec rm {} \; # remove all files with a modification date of 7 days ago and earlier in /tmp dir
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
edwin1234
- Posts: 330
- Joined: Sunday 09 October 2016 20:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Nederland
- Contact:
Re: Remove from tmp?
Thanks
Gonna try that
Gonna try that
Who is online
Users browsing this forum: Google [Bot] and 1 guest