Oiler Works
  • Home
    • My resume
    • Free premium
    • Privacy Policy
  • Science & MBA
  • Blog
    • Gaveta de remédios
    • Canadá
    • Computing
    • Presentes

Linux BASH SECRETS

27/10/2018

0 Comments

 
Remove files recursively:
find . -type f -iname '*.jpeg' -delete
find . -type f -iname '*.jpeg' -exec rm {} \;
find . -type f -iname '*.jpeg' -exec rm {} +
shopt -s globstar && rm -- **/*.o

Backup clonning using Hard Links
rsync -avm --ignore-existing --link-dest=. $SOURCE/ $DESTINATION/

Remove empty directories
find . -type d -depth -exec rmdir {} \;

0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Arquivos

    November 2018
    October 2018
    August 2017
    March 2017
    April 2016
    March 2016
    November 2013
    March 2013
    February 2013
    November 2012
    October 2012

    Categorias

    All
    Bugs
    Linux
    Windows 8

    RSS Feed

Powered by Create your own unique website with customizable templates.
  • Home
    • My resume
    • Free premium
    • Privacy Policy
  • Science & MBA
  • Blog
    • Gaveta de remédios
    • Canadá
    • Computing
    • Presentes