2025-02-07 14:05:44 +05:30

15 lines
255 B
Bash
Executable File

#!/bin/bash
folder="$@"
echo "Checking $folder"
x=`find "$folder" -type f -iname "[!aeiou]*"`
for i in $x
do
echo "$i"
done
# This script takes a folder name as a CLI argument and then lists all files that do not begin with a vowel (in filename)