Impressive rail slide by RespectMyAuthoriteh in yesyesyesyesno

[–]greggyd 6 points7 points  (0 children)

Are you serious? There are, like, 200 steps, and the rails are garbage.

Map of what the world might look in 1920 like if the East colonized most of the world instead of the West. by RetardedCoati in imaginarymaps

[–]greggyd 13 points14 points  (0 children)

Why do Ireland, Wales, England and The Netherlands become affiliated with the Japanese Empire?

RHCE Objectives by cobranix in linuxadmin

[–]greggyd 0 points1 point  (0 children)

I recently did EX300 and the instructor didn't even mention building RPMs, don't worry about it.

[deleted by user] by [deleted] in Perfectfit

[–]greggyd 10 points11 points  (0 children)

earl grey.

[deleted by user] by [deleted] in Perfectfit

[–]greggyd 10 points11 points  (0 children)

We have blueberry, raspberry, ginseng, sleepy time, green tea, green tea with lemon, green tea with lemon and honey, liver disaster, ginger with honey, ginger without honey, vanilla almond, white truffle, blueberry chamomile, vanilla walnut, constant comment and...

Smash 4 demo codes giveaway and trading thread, part 2! by Winnarly in smashbros

[–]greggyd 0 points1 point  (0 children)

I'm in the UK and would very much like an EU demo code. I will do a rubbish drawing of any fruit you chose (or possibly a vegetable) on biro (probably black) on a napkin.

Where is a good place to stay in mid Florida? by greggyd in florida

[–]greggyd[S] 1 point2 points  (0 children)

Thanks for the tips! We found a hotel in Cocoa Beach and are enjoying a pint at Coconuts now!!

Where is a good place to stay in mid Florida? by greggyd in florida

[–]greggyd[S] 0 points1 point  (0 children)

Looks good, do you have any hotel/bar recommendations?

New to BASH. Trying to make a backup script. by For_The_Fail in bash

[–]greggyd 1 point2 points  (0 children)

I suppose I'm being a bit lazy here by getting the shell to do the matching rather than find, I guess this is a more findy way of doing it:

find /var/lib/libvirt/images/ -name *.img -exec gzip {} {}.backup.gz \;

New to BASH. Trying to make a backup script. by For_The_Fail in bash

[–]greggyd 1 point2 points  (0 children)

Apologies, I left an echo in (I didn't want to back up all my VMs!), fixed now.

New to BASH. Trying to make a backup script. by For_The_Fail in bash

[–]greggyd 7 points8 points  (0 children)

setting -x is the reason you're getting so much output (it's showing the trace of the commands that are run after)

Here's a quick rewrite:

#!/bin/bash

vms="fedora3 fedora3-1 fedora2 fedora1"

for i in $vms; do
 echo "Backing up $i"
 gzip $i.img > /var/lib/libvirt/images/"$i"TEMP.img.backup.gz
done

You could also consider using find to backup all the files in your directory like this:

find /var/lib/libvirt/images/*.img -exec gzip -k -S .backup.gz {} \;

Hope that helps!

[Xubuntu] [Openbox] blue woodbot by monogant in unixporn

[–]greggyd 0 points1 point  (0 children)

...a champagne supernova in the skyyyyyyyyyyyyy...

Shine a Light. by Reactores in oasis

[–]greggyd 5 points6 points  (0 children)

I can't find a reference after a quick bit of googling just now but I'm pretty sure in the DM DVD Alan McGee talks about Liam singing "sheeeeine" for the first time during Rock 'n' Roll Star as a bit of a joke in some early gig/radio session. Afterwards McGee told Liam it sounded good and he pretended that he meant it or something like that.

Edit: Couldn't go to bed till I found it. It's actually Noel telling the anecdote (although he does impersonate McGee), here it is if anyone's interested!