You've got plenty of files with spaces on its name and you wanna replace them with underscores?
Check this:
for i in *;do TARGET=`echo $i | sed 's/\ /_/g'`; mv "$i" $TARGET;done
In my case, these were rar files which I then wanted to uncompress:
for i in *;do unrar x "$i" ;done
Bash is really usefull, ain't that right?
This is my blog, where I write down all the stuff that moves in my mind. Read the first entrance for a welcome post ;)
Wednesday, October 20, 2010
Sunday, October 10, 2010
Hard Disk troubles
This is something you definitely do not wanna see on your screen:
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.
I'm loving more and more my N900 as I've made the backup on it!!!
You may be asking why the hell I do not have an external hard disk, aren't you? Well, because I'm an idiot :S
Tomorrow I'll try to get one new hard disk.
Regards
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.
I'm loving more and more my N900 as I've made the backup on it!!!
You may be asking why the hell I do not have an external hard disk, aren't you? Well, because I'm an idiot :S
Tomorrow I'll try to get one new hard disk.
Regards
Saturday, October 9, 2010
Change of direction
As I've recently started to work as a system administrator I've decided to change the focus of this blog: it will be unix/linux related (mainly) as well as others OSs's.
It will probably become a "backup" of the staff I encounter on my daily work but hopefully I'll add something on my freetime :)
Best regards to all,
Damnshock
It will probably become a "backup" of the staff I encounter on my daily work but hopefully I'll add something on my freetime :)
Best regards to all,
Damnshock
Wednesday, February 24, 2010
Problems with my HP Laserjet 1320 printer
Had to print some slides this morning for my Network Intelligence class and found out that my printer wasn't working :S
The thing is that only cups itself cannot handle the printer. Had to install the hplip package on my Archlinux and modify the printer to use cups+gutenprint PPD.
The trick did it's magic and now the printer works! :D
Happy ending I guess!
Thursday, January 14, 2010
Can't sleep :S
So here I am at the bed although I can't get to sleep. I must get up in five hours from now to take my microwaves exam and still can't sleep... It's not that i haven´t studied ( i indeed have) but still... I don´t feel confident enough :(
I'm playing a bit with my N900 before trying again to rest ;) this is a marvelous phone by the way, worth every penny i payed for it.
Wish me luck, night!
Damnshock
I'm playing a bit with my N900 before trying again to rest ;) this is a marvelous phone by the way, worth every penny i payed for it.
Wish me luck, night!
Damnshock
Wednesday, December 2, 2009
Flash 10.1 still not working on the N900
I've been trying this morning to make it work but still no success :(
Adobe claims that will bring it by next year, let's hope it is soon!
Damnshock
Adobe claims that will bring it by next year, let's hope it is soon!
Damnshock
Monday, November 30, 2009
First entry with my new toy: N900!
So here I am playing a bit with my two days old nokia N900!
The feeling so far is pretty good, plenty of options and a very nice UI. Everything seems to be in the right place, whenever i think "what if now i wanna do this?" The option is already there! Everything seems polished and the performance is simply amazing :)
I´ll give you one screenshot:

What do you think? Ain´t that amazing?
Damnshock
The feeling so far is pretty good, plenty of options and a very nice UI. Everything seems to be in the right place, whenever i think "what if now i wanna do this?" The option is already there! Everything seems polished and the performance is simply amazing :)
I´ll give you one screenshot:
What do you think? Ain´t that amazing?
Damnshock
Subscribe to:
Posts (Atom)