Technical Remedies
Thursday, June 30, 2016
Remove the contents of a folder in linux
To remove the folder with all its contents(including all interior folders): rm -rf /path/to/directory.
To remove all the contents of the folder(including all interior folders) but not the folder itself: rm -rf /path/to/directory/*
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment