To delete all the files and folder in a directory in SSH, go in that directory, then use that command:
rm -r -f YourDirectory
rm = remove / delete -r = recursively deletes the directory and all files in it, including subdirectories -f = will not ask for confirmation before deleting
No comments:
Post a Comment