Blogging it because I was asked to:

(01:13:54 AM) Ursula: deixa dar pull
(01:38:38 AM) Ursula: piada infame
(01:38:44 AM) Ricardo: fale
(01:38:47 AM) Ursula: melô do git: push me pull me
(01:39:07 AM) Ricardo: huahuahuahua
(01:39:12 AM) Ricardo: boa

hahaha :)

For those who didn’t get it: Push me, Pull me is a Pearl Jam song, from the fifth album of the band, Yield.

I had a false belief
I thought I came here to stay
We’re all just visiting
All just breaking like waves
The oceans made me, but who came up with me?
Push me, pull me, push me, or pull me out {2X}

So if there were no angels, would there be no sin?
You better stop me before I begin
But let me say: if I behave, can you arrange a spacious hole in the ground
Somewhere nice, make it nice
Where the land meets my tide
Push me, pull me, push me, or pull me out {4X}

Like a cloud dropping rain
I’m discarding all thought
I’ll dry up, leaving puddles on the ground
I’m like an opening band for the sun
Push me, pull me {6X}
I’ve had enough, said enough, felt enough, I’m fine

Finding and removing empty folders

Imagine that you decided to download a torrent that originally has a million folders. Then, imagine that you’ll only download actually one or two of them. Imagined that?

Now, imagine that you’re cleaning your files, you know, and then suddenly you see yourself in front of that million of empty folders. Of course you want to rip them off!

Knowing that find is a **VERY** powerful tool, reading its man I found out the following:

$ find . -type d -empty

And voila, only the empty dirs of the folder you are are returned.

Now, to delete them you have two options:

$ find . -type d -empty -exec rmdir "{}" ";"

(This should execute rmdir n times, where n is the number of empty folders the find command returns.)


$ find . -type d -empty | xargs rmdir -

(This should get all the output of the find command and use as input to rmdir command, wrapped by xargs.)

Both of them should work.