mirror of
				https://github.com/AquaMorph/dotfiles.git
				synced 2025-11-03 17:03:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			280 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			280 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#! /bin/bash
 | 
						|
 | 
						|
# Load user settings from config file.
 | 
						|
. ~/.config/settings.conf
 | 
						|
 | 
						|
for file in *.aax; do
 | 
						|
    convertedFile="./${file%%.*}.m4b"
 | 
						|
    if [ ! -f "$convertedFile" ]; then
 | 
						|
	ffmpeg -y -activation_bytes ${activation_bytes} -i ./${file} -codec copy $convertedFile
 | 
						|
    fi
 | 
						|
done
 |