Nix Geek

Remove Multiple Files In The Same File Path

dabeagles

The following is how to remove multiple files in a file path without having to use multple commands, or changing directories:

rm -f /path/to/files/{file1,file2,file3}
Example:
rm -f /home/beagles/Pictures/{All.jpg,For.jpg,One.jpg}
Tags:

Leave a Reply

Back to top