When using the find command you may want to combine conditions, e.g. using an OR.
Here’s a way to do that.
find . -type f \( -name "*deb" -o -name "*vmdk" \)
This command finds all files in current directory ending with db or vmdk.
IT and anything that fascinates me
When using the find command you may want to combine conditions, e.g. using an OR.
Here’s a way to do that.
find . -type f \( -name "*deb" -o -name "*vmdk" \)
This command finds all files in current directory ending with db or vmdk.