SSH batch remove characters from filename [closed] - ssh

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a folder with thousands of files and I need to rename only some of those files and remove a set of characters. Can anyone tell me which command to use from shell (putty)?
I have something like:
image01-GB.jpg
image02-GB.jpg
image03.jpg
image04GB.jpg
image05.jpg
image06GB.jpg
I need to remove -GB and GB if those characters exist, everything else should stay as is. I've been googling for the past 2 hours and can't find anything useful. Can anyone shed some light, please? BTW, I'm a total noob when it comes to shell.

I think you might be looking for the rename command.

Related

restore attach sql database [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
My old computer crashed and died a couple of weeks ago(motherboard), and I have been able to copy data from the hard drive over to new computer.
Problem is with sql database, I'm not able to restore or attach as I get the error access is denied
Anybody have an idea as to what I can do.
Thanks
George
After trying to get data via attach/restore, I just went into the data folder and copied and pasted the old db and log files, now works OK.

Can I use this Notepad++ for OS X? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I found this notepad++ for mac ,it has a size of 215 megabytes(quite large).
I have downloaded it and started looking at it.
I found this link:
http://www.youtube.com/watch?v=ywh6HlCmtg0
It is actually working pretty good.
I just like to know;
is this OK?,Or Lawful?
if it is not I like to remove this from my computer.
Thanks
I'd recommend you use something like Sublime Text 2 if you want to have a neat text editor. You can use it for free, it just bugs you once in a while, when you save a file. It's full featured either way.

can diablo 3 be run through wine on linux? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
If there's a howto link or similar ill accept that right away - im desperate for running it with my stationary tux box instead of a less capeable laptop.
It would be best to check the WineHQ page for Diablo III: http://appdb.winehq.org/objectManager.php?sClass=version&iId=25953
It appears to install and run correctly. There are a number of issues that have been reported, like with many other Windows games. It looks like it would run best on Ubuntu.

Insert Code in LyX [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
does anybody know how to insert code into lyx? just like what is available here?
I want to have a code like this .
Don't rally know about LyX, but in LaTeX there are the lstlisting (from the listings package) and the verbatim environment.
If you search for listing on the lyx wiki homepage - you'll find this - maybe it is of help to you.

Oracle 10g keeps on Initializing [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am continuously getting Error Code “The ORA-01033: ORACLE initialization or shutdown in progress”
This is happening ever since I physically deleted a couple of .dbf files
I did this meself many years ago, deleting the files from disk before DROPing them from within Oracle. The following link has some steps for getting your database to come up after telling Oracle that the files are no longer there: http://www.mydigitallife.info/how-drop-tablespace-and-recover-oracle-database-when-accidentally-delete-datafile/.
Try Connecting as SYSDBA. Also look at the relevant lines from the alert-log. May be at (%ORACLE_BASE%/diag/rdbms/%ORACLE_SID%/%ORACLE_SID%/trace/alert_%ORACLE_SID%.log).
It is likely that oracle is trying to write to or open one of the .dbf files you deleted. What were the .dbf files?