ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Just to do this..
echo "find ~/.ros/log/* -mtime +5 -exec rm -r {} \;" >> ~/.bashrc
Replace the 5 with how many days you want to remove that was created before that number. This will remove files older than 5 days old.
2 | No.2 Revision |
Just to do this..
echo "find ~/.ros/log/* -mtime +5 -exec rm -r {} \;" >> ~/.bashrc
Replace the 5 with how many days you want to remove that was created before that number. This will remove files older than 5 days old.
It will search for old files every time you open a terminal.