Cosasdelinux’s Weblog

marzo 11, 2011

Move files from one day in the same order with some word to other dir to process

for i in `ls -lsrt | grep “Mar 11″ | awk ‘{print $10}’ | xargs grep -m 1 -i “TE-ALTA” | awk -F “:” ‘{print $1}’ `; do mv $i /tmp/aprocesar/ ; done

1 comentario »

  1. [...] Actualizados : Move files from one day in the same order with some word to other dir to process awk split text files into columns Snmp get oid for traffic network [...]

    Pingback por Articulo Indexado en la Blogosfera de Sysmaya — marzo 14, 2011 @ 6:55 am | Responder


RSS feed para los comentarios de esta entrada. URI para TrackBack.

Deja un comentario

Fill in your details below or click an icon to log in:

Logo de WordPress.com

You are commenting using your WordPress.com account. Log Out / Cambiar )

Twitter picture

You are commenting using your Twitter account. Log Out / Cambiar )

Facebook photo

You are commenting using your Facebook account. Log Out / Cambiar )

Connecting to %s

Theme: Rubric. Blog de WordPress.com.

Seguir

Get every new post delivered to your Inbox.