Whoops, then I forgot I need dummy output for write_per_file!
This commit is contained in:
		
							parent
							
								
									bbc0007917
								
							
						
					
					
						commit
						30d39a1060
					
				
							
								
								
									
										14
									
								
								hash-files
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								hash-files
									
									
									
									
									
								
							@ -43,12 +43,13 @@ mdls_per_file () {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#write_per_file () {
 | 
					write_per_file () {
 | 
				
			||||||
##echo "=== Write data to a .csv file. ===
 | 
					#echo "=== Write data to a .csv file. ===
 | 
				
			||||||
##===================================="
 | 
					#===================================="
 | 
				
			||||||
##	cat $temp_csv_file
 | 
					#	cat $temp_csv_file
 | 
				
			||||||
##	write_log "$temp_csv_file written successfully."
 | 
					#	write_log "$temp_csv_file written successfully."
 | 
				
			||||||
#}
 | 
					echo "File write happens!"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cleanup () {
 | 
					cleanup () {
 | 
				
			||||||
	write_log "Cleanup completed successfully."
 | 
						write_log "Cleanup completed successfully."
 | 
				
			||||||
@ -74,7 +75,6 @@ IFS=',';echo "${csv_columns[*]}";IFS=$'\n'
 | 
				
			|||||||
for file in $(find $Working_Fullpath -maxdepth 1 -type f); do
 | 
					for file in $(find $Working_Fullpath -maxdepth 1 -type f); do
 | 
				
			||||||
	hash=$($md5_bin $file | awk '{ print $1 }')
 | 
						hash=$($md5_bin $file | awk '{ print $1 }')
 | 
				
			||||||
	mdls_properties=$(mdls_per_file $file)
 | 
						mdls_properties=$(mdls_per_file $file)
 | 
				
			||||||
 | 
					 | 
				
			||||||
	write_per_file $file $hash $mdls_properties
 | 
						write_per_file $file $hash $mdls_properties
 | 
				
			||||||
done	
 | 
					done	
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user