18 lines
270 B
Bash
18 lines
270 B
Bash
![]() |
#!/bin/bash
|
||
|
|
||
|
folder="$@"
|
||
|
|
||
|
for j in $folder
|
||
|
do
|
||
|
echo "Checking $j"
|
||
|
|
||
|
x=`find "$j" -type f -iname "[!aeiou]*"`
|
||
|
|
||
|
for i in $x
|
||
|
do
|
||
|
echo "$i"
|
||
|
done
|
||
|
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)
|