chuleta de find

Wednesday, April 5th, 2006 @ 11:39 pm | Notas rápidas

Para que no se me olvide:

find ./ -type f -regex .*avi -exec cp '{}' /destino/ \;

busca en donde esté situado ficheros ( -type f) que acaben en avi ( con find siempre .* al comienzo ) y ejecuta la copia el nombre de fichero es ‘{}’ y \; marca el fin del comando

 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 

 

Recently

  • Cómo instalar dropbox en Debian usando los sources , copia y pega
  • Infección en apps de Android
  • virt-manager: ERROR:root:unsupported locale setting
  • sopastrike.com – Vamos a la huelga
  • No me gusta wordpress
  • [Asterisk] Tareas de mantenimiento
  • screengrab queda muerto
  • rails + omniauth + omniauth-twitter
  • Ruby on Rails + Papercliip: cannot load such file — cocaine (LoadError)
  • `autodetect’: Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
  •