Hi there,
I have a bunch of files that I want to rename:
123.someword.doc > 123.doc
456.someword.pdf > 456.pdf
The "someword" is consistent in all the files and they need to be
renamed recursively.
Something like this but with a different regex:
# This is for a completely different file name structure
find . -name '123*.txt' -type f -exec bash -c 'mv "$1" "${1/\/123_//}"'
-- {} \;
...sorry regex is a shortfall of mine.
Thanks in advance.
Cheers
Piers
Wen, how did that Linux router I gave you go? I've got a heap more to give
away so if you could provide a summary for other users that would be good.
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
On Tue, 29 Oct 2019 04:11:18 AM Rohan McLeod wrote:
Hi Rohan,
(and everybody...)
> >>> I have got a big box of about 25 years old CD ROM disks with scanned B/W
...
> >> 3/ When I was investigating this issue I came to the conclusion that
> >> "M-Disk"s were the best current solution;
> >> this involves (a) buying an M-disk capable DVD R/W (most Blue-Ray
> >> drives) (b) a supply of M-Disks (25- 100)GB
I purchased LG GP57EB DVD Burner which claims to be M-disc compatible. I also
purchased 2 boxes Verbatim M-disc Bdr 25gb 5pk to use for trials. Both
mail-orders arrived recently.
I tried the new burner with ordinary DVD using brasero SW. It created
small data DVD without any issues. I created 21.2 GiB .iso with brasero also
without any issues.
When I asked brasero to burn it and presented one M-disc in the burner it
responded with "Please replace the disc with a supported CD or DVD". Search
results for “M-disc” in brasero help returned: 'No matching help pages found
in “Brasero Help”.
I also tried k3b with the same .iso. It asked for a disc, played a bit with
inserted M-disc and then stopped, still asking for "an empty Blu-Ray medium"
So far no success but also no coaster...
Any advice what to try next would be appreciated.
Petr Baum
--
<pb-luv(a)baum.com.au>
Petr Baum, P.O.Box 2364, Rowville 3178
fax +61-3-97643342
This message was created in naturally virus-free operating system: Linux
I just gave one of each item that's duplicated in the hardware library to kick-start another hardware library (reproducing like amoeba). After doing that it looks a bit bare. Please consider if there's anything you can donate at the next meeting.
--
Sent from my Huawei Mate 9 with K-9 Mail.
Is there any way to disable DRI for an application?
Kmail is using DRI and SEGVing in the Nouveau libraries. Not sure how much of this is Kmail bugs and how much is Nouveau (valgrind reports heaps of issues in Kmail and Nouveau triggers kernel bugs). But while investigating this I'd like to have Kmail keep working while not removing DRI entirely from the system.
Any suggestions?
--
Sent from my Huawei Mate 9 with K-9 Mail.
John La Rooy <john.larooy(a)gmail.com> writes:
> You can verify whether the remote is sending something by viewing the LED
> via your phone camera when you press the buttons.
Looking at the keyboard characters generated on another computer, when I
press up, I can get one of three responses:
* On first press: nothing.
* ^[[A - as expected.
* ^[[21~ - wtf?
If I keep pressing up it often (but not always) toggles between ^[[A and
^[[21~
I wonder if flirc just cannot read my brand of remote reliably (old one
from old Hauppauge TV card). Either that or it has some functionality
(on first press do X on second press do Y) that I am not familiar with.
--
Brian May <brian(a)linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/
Rohan McLeod <rhn1(a)hotkey.net.au> writes:
> It's definitely not a problem with dirty contacts on the remote ?
> My Sony remote gradually "lost buttons" and I was going to replace it;
> untill someone suggested pulling it apart and
> cleaning the contacts with isopropyl alcohol....now it's like new !
Dad seems convinced that there is nothing wrong with the remote control
units.
I am not convinced; I might try to test this out some more tomorrow.
Maybe (if I can) by pairing a known good spare TV controller.
--
Brian May <brian(a)linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/
John La Rooy <john.larooy(a)gmail.com> writes:
> I use an older version of this
>
> https://flirc.tv/more/flirc-usb
>
> I trained it to translate extra buttons on the TV remove into keystrokes,
> but you could use any old remote control you have lying around.
Unfortunately that is the very system I seem to be having problems with
right now :-(
(At least an older version)
For some unknown reason it is very unresponsive. Hard to know if flirc
is the problem or the older remote control, but we have tried two remote
controls (of the same type) and they both have the same problem. Is like
you need to press every button at least twice to get flirc to respond.
I also tried the TV remote, through the TV and HDMI-CEC. That appeared
to be good sometimes, unresponsive at other times. Pity, this would be
the most convenient if I could get it working reliably.
--
Brian May <brian(a)linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/
Hi Brian,
I use a combination of a HP USB(1) and a Logitech universal remote to
control my Kodi instance, which runs on top of Ubuntu Mate 18.10.
This works well but took a quite a lot of fiddling around with config
files, choosing a suitable remote to emulate, customising the buttons and
ensuring USB ports remained powered on in hibernate so key presses wake the
box.
I've also heard good things about Flirc(2) when combined with a universal
remote. From reports Flirc is much easier to set up initially and is
essentially plug and play, though I've not tested it myself.
One other thing to note if you don't have a remote (though it sounds like
you do) is Logitech remotes require Windows to run their (terrible)
proprietary software, which can be done in a VM but not using Wine.
Cheers
Tim
(1)
https://www.amazon.com/HP-5188-1667-Center-Remote-Transmitter/dp/B000Z7XJME
(2) https://flirc.tv/more/flirc-usb
On Fri, 8 Nov 2019 at 12:00, <luv-main-request(a)luv.asn.au> wrote:
> Date: Thu, 07 Nov 2019 17:59:00 +1100
> From: Brian May <brian(a)linuxpenguins.xyz>
> To: Luv Main <luv-main(a)luv.asn.au>
> Subject: MythTV remote control
> Message-ID: <87r22k5g0b.fsf(a)silverfish.pri>
> Content-Type: text/plain
>
> Hello,
>
> Can anyone recommend a good remote control - ideally USB based - for a
> MythTV system that doesn't have or need a TV controller card?
>
> The current one we have is driving us crazy because it often requires
> multiple key presses for MythTV to finally respond. Where as the
> keyboard response (or even Android remote) is very good.
>
> Regards
> --
> Brian May <brian(a)linuxpenguins.xyz>
> https://linuxpenguins.xyz/brian/
>
>
>
>
https://www.spinellis.gr/blog/20191103/
The progress indicator of MySQL or MariaDB long-running commands and
queries is extremely extremely and frustratingly coarse. In an index
update I’m running now it was stuck in the same state for more than
three hours. Thankfully, the pmonitor
<https://github.com/dspinellis/pmonitor> tool allows us to precisely
monitor the progress of many commands. Here’s an example of its
application on MariaDB.
Adding an index on a GHTorrent <http://ghtorrent.org/> table with 6
billion records seemed to take forever, stuck in the “Enabling keys” state.
....