Ejemplo 1: forzar la eliminación de una carpeta en linux
# To remove non-empty directories and all the files without being prompted, use rm with the -r (recursive) and -f options:
rm -rf dirname
Ejemplo 2: como eliminar forzosamente un directorio en linux
rm -rf dirname
Ejemplo 3: bash eliminar directorio
rm -rf directory-name
Ejemplo 4: carpeta de eliminación de bash
# EXAMPLE
rm -r YourFolderName
# SYNTAX
# rm [option(s)-if-any] <folder(s)-to-remove-including-contents>
# +---------+------------------------------------------------------------------+
# | OPTIONS | DESCRIPTION |
# +---------+------------------------------------------------------------------+
# | -f | Force: ignore nonexistent files, never prompt |
# | -i | Interactive: prompt before every removal |
# | -I | Interactive: only prompt before removing more than three files |
# | -r | Recursive: remove directories and their contents recursively |
# | -v | Verbose: explain what is being done |
# +---------+------------------------------------------------------------------+
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)