15 lines
255 B
Bash
Executable File
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)
|