Page 1 of 1
		
			
				After Hazel runs, have it NOT change modification date?
				
Posted: 
Wed Apr 15, 2015 1:18 pmby ctphoto
				I have Hazel doing a very nice action of adding certain wording into the comments section of a file, BUT it changes the modification date of the file. Is there a way to keep that from not happening? Otherwise it changes those dates to today.
			 
			
		
			
				Re: After Hazel runs, have it NOT change modification date?
				
Posted: 
Thu Apr 16, 2015 2:30 pmby Mr_Noodle
				There's no way around that since the OS will update the time when you change that information. You can write a script to change the modification date back, though that would require you to also record what that date was beforehand.
			 
			
		
			
				Re: After Hazel runs, have it NOT change modification date?
				
Posted: 
Thu Apr 16, 2015 2:40 pmby ctphoto
				Any script ideas on how to grab the time/date first then run Hazel then finish script?
			 
			
		
			
				Re: After Hazel runs, have it NOT change modification date?
				
Posted: 
Fri Apr 17, 2015 1:04 pmby Mr_Noodle
				I suggest researching how to do shell/bash scripts. I'm guessing you want to use some combination of the "ls" and "touch" commands.