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

Script para borrar archivos por fecha



Estoy tratando de buscar o hacer un script que  me borre archivos por fecha ejemplos los archivos que tengo son granbaciones en asterisk que se nombran asi:

9182980070_20090821-084714_110-all.wav

en donde lo que esta en negrilla y color rojo es la fecha yo quiero borrar todo lo que es del mes de agosto u otro mes pero como puedo hacer con un script para que me agarre todos los archivos que son de ese mes y me los borre ya que son mas de 5 mil grabaciones y mi disco duro se esta saturando hacerlo via ftp es muy lento ya que dilata en cargarme la carpeta donde estan los archivos les agradeceria mucho su ayuda ya que mi disco duro se esta llenando.

Saludos

--
Bayardo Sánchez García
Web Developer - Internet Portals - Asterisk Support - Windows Server Support - Proxy Support - Linux Server
E-mail: bayardo.sanchez@gmail.com
Linux User: #418392
America Central - Managua, NI (505) 2249-2853 -  84886876  
IM msn messenger: bjsanchezg@hotmail.com
Skype: bayardo.sanchez
This email is intended solely for the person or organization to which it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you are prohibited from copying, disclosing or distributing this email or its contents (as it may be unlawful for you to do so) or taking any action in reliance on it. If you have received this email by mistake, please delete it. All e-mail sent to this address will be received by B.S. Solution e-mail system and is subject to archiving and review by someone other than the recipient.

Reply to: