14 lines
		
	
	
	
		
			255 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			14 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)
 | 
