ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

No input with rosclean purge?

asked 2018-02-01 05:50:16 -0500

Cerin gravatar image

updated 2018-02-01 05:50:48 -0500

I'd like to implement a scheduled process to periodically run rosclean purge when my logs get too big, but even though it's a command line tool, it seems to be hard-coded to require a user to answer a "yn" prompt. Most command line programs have a "--noinput" or "--assume-yes" option to allow the tool to be used in an automated process. How do you do this with rosclean?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-02-01 06:11:02 -0500

mgruhler gravatar image

why not ask rosclean itself?

rosclean purge -h directly points you to the -y flag

edit flag offensive delete link more

Comments

Ah, thanks. I had checked rosclean -h but not rosclean purge -h.

Cerin gravatar image Cerin  ( 2018-02-01 12:22:41 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-02-01 05:50:16 -0500

Seen: 528 times

Last updated: Feb 01 '18