
files
List of commands for files:
-
files:delete:extension Delete all files with the given extension$ find ${directory} -type f -name '*.${extension}' -deletetry on your machineexplain this command
-
files:directory:delete Delete a given directory with all child directories.$ rm -rf ${directory}try on your machineexplain this command
-
files:file:move Move a file to another directory or just rename it.$ mv ${sourceFile} ${destinationFile}try on your machineexplain this command
-
files:find:pattern Find all files with a specific text pattern in it.$ grep -rnw '${path_to_check}' -e '${pattern}'try on your machine
-
files:permission This command will list the permissions and other details of the file.$ ls -l ${filename}try on your machineexplain this command