Skip to content

Instantly share code, notes, and snippets.

@gbelot2003
Created August 18, 2019 22:54
Show Gist options
  • Save gbelot2003/3e675e82b6c5322fc98fb5d6089b12c1 to your computer and use it in GitHub Desktop.
Save gbelot2003/3e675e82b6c5322fc98fb5d6089b12c1 to your computer and use it in GitHub Desktop.
extraer filas filtradas de un cvs
#!/bin/bash
ruta="/home/gerardo/Descargas/xvideos"
ruta2="/home/gerardo/Descargas/limpias"
read -p "Enter Your File Number: " fileNumber
grep "teen" < $ruta"/"xvideo_part"$fileNumber" | grep "creampie" > $ruta2"/creampie."$fileNumber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment