mirror of
				https://github.com/dcarrillo/prezto.git
				synced 2025-11-04 10:59:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			261 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			261 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#
 | 
						|
# Deletes .DS_Store and __MACOSX directories.
 | 
						|
#
 | 
						|
# Authors:
 | 
						|
#   Sorin Ionescu <sorin.ionescu@gmail.com>
 | 
						|
#
 | 
						|
 | 
						|
# function osx-rm-dir-metadata {
 | 
						|
 | 
						|
find "${@:-$PWD}" \( \
 | 
						|
  -type f -name '.DS_Store' -o \
 | 
						|
  -type d -name '__MACOSX' \
 | 
						|
\) -print0 | xargs -0 rm -rf
 | 
						|
 | 
						|
# }
 |