#!/bin/bash for file in * do if [[ "$file" = *.zip* ]] then echo "$file" fi done