RE: Quick scripting question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

	-----Original Message----- 
	From: fedora-list-bounces@xxxxxxxxxx on behalf of Chris 
	Sent: Sat 10/06/2007 01:41 PM 
	To: For users of Fedora 
	Cc: 
	Subject: Quick scripting question
	
	

	How would I script removing a file (globally) ?
	
	Meaning, say the file name test however, it's in multiple directories
	throughout the system without having to go into each dir manually.
	

	--------------------------------------

	find / -type f -name $filename -exec rm -f {} \;

<<winmail.dat>>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux