Advertisement
Guest User

Untitled

a guest
Jun 14th, 2015
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. # Arreglar autor en Git
  2.  
  3. git filter-branch -f --env-filter '
  4. if [ $GIT_AUTHOR_EMAIL = fran@frandesk.cnti.gob.ve ];
  5. then GIT_AUTHOR_EMAIL=jsfrncscg@gmail.com;
  6. fi;
  7. export GIT_AUTHOR_EMAIL'
  8.  
  9.  
  10. git filter-branch -f --env-filter '
  11. if [ $GIT_AUTHOR_EMAIL = fran@frandesk ];
  12. then GIT_AUTHOR_EMAIL=jsfrncscg@gmail.com;
  13. fi;
  14. export GIT_AUTHOR_EMAIL'
  15.  
  16. # Configurar tarjeta de red Broadcom
  17.  
  18. echo "options b43 pio=1 qos=0 | sudo tee -a /etc/modprobe.d/b43.conf
  19.  
  20. # Ordenar musica
  21.  
  22. # Listar extensiones en una carpeta:
  23.  
  24. find . -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -u
  25.  
  26. # Mover archivos con una determinada extension a otra carpeta:
  27.  
  28. find -iname "*.wma" -type f -print0 | xargs -0 -I '{}' /bin/mv "{}" /home/fran/Musique/
  29.  
  30. # Eliminar archivos con determinada extension:
  31.  
  32. find -iname "*.wma" -type f -print0 | xargs -0 -I '{}' /bin/rm "{}"
  33.  
  34.  
  35. # Montar root de musipan
  36. sudo sshfs -p 22 root@10.16.106.139:/ /home/fran/musipan/
  37.  
  38. # Desmontar root de musipan
  39. sudo fusermount -u /home/fran/musipan
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement