How to delete all files in a repl from its shell?

Yeah basically just the title :smiley:

1 Like

I think that rm -rf . should do the job. Though if you want to be safe, use rm -rf /home/runner/$REPL_SLUG or possibly rm -rf $REPL_HOME (I don’t know exactly what’s in the home var).

4 Likes

If the name of the repl is “Replit Login” then its: /$Replit-Login?

image
:sob:

1 Like

Try rm -rf ./* ./.*

2 Likes

Awesome, thank you!

2 Likes

No, $REPL_SLUG refers to the variable called REPL_SLUG, which contains the name of your Repl. I think $REPL_HOME has the full path, but I am not sure.

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.