17 lines
		
	
	
	
		
			287 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			287 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
folder="$@"
 | 
						|
 | 
						|
for j in $folder
 | 
						|
do
 | 
						|
echo "Checking $j"
 | 
						|
 | 
						|
x=`find "$j" -type f -iname "[!aeiouAEIOU]*" 2>/dev/null`
 | 
						|
 | 
						|
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)
 |