Skip to content

Instantly share code, notes, and snippets.

@theladyjaye
Created October 18, 2013 21:06
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save theladyjaye/7048284 to your computer and use it in GitHub Desktop.
Save theladyjaye/7048284 to your computer and use it in GitHub Desktop.
clear salt minion cache
salt '*' cmd.run 'rm -rm /var/cache/salt/minion/files/base/*'
salt '*' saltutil.sync_all
@yyf1986
Copy link

yyf1986 commented May 18, 2014

how much time when you run the command?

@giuseppeurso
Copy link

It's "rm -rf", not "rm -rm"

@dannysauer
Copy link

It's "rm -rf", not "rm -rm"

Technically should only need rm -r ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment