pull/35656/head
winetoys 2019-03-22 21:26:31 +05:30 committed by Christopher McCormack
parent bc72c86dc6
commit 1c54ea93e8
1 changed files with 4 additions and 5 deletions

View File

@ -38,10 +38,10 @@ Removes all file ending with .txt
There are few commonly used arguments: There are few commonly used arguments:
- `-r` , means to recursively delete all the folders inside a directory. - `-r` means to recursively delete all the folders inside a directory.
- `-f` , means to forcefully delete any folder or file. - `-f` means to forcefully delete any folder or file.
- `-i` , will ask before deleting the file. - `-i` will ask before deleting the file.
- `-v` , will explain what was deleted. - `-v` will explain what was deleted.
### Warning ### Warning
This command is capable of deleting many files at once with ease. This can be beneficial, but also dangerous. Use at your own risk. This command is capable of deleting many files at once with ease. This can be beneficial, but also dangerous. Use at your own risk.
@ -52,7 +52,6 @@ rm -rf folder
``` ```
### Wildcards ### Wildcards
The `rm` command can be used in conjunction with an asterisk to delete multiple items matching a specific set of criteria. For example, you could use `rm test*` to remove all files in a directory starting with "test" regardless of whatever text follows that string. You can also use an asterisk by itself to purge all files in the current directory using `rm *`. The `rm` command can be used in conjunction with an asterisk to delete multiple items matching a specific set of criteria. For example, you could use `rm test*` to remove all files in a directory starting with "test" regardless of whatever text follows that string. You can also use an asterisk by itself to purge all files in the current directory using `rm *`.
### More Information: ### More Information: