I have a directory full of files and sub-directories which I've pulled
from an emulator. But it has extra filename extensions on it. I would
like to traverse this directory, stripping off the extensions and so
I've been trying to write a script to do it but it's failing.
An example of a file is this :- lamborghini miura_1024.jpg,c85 and so
there, I'd like to remove the ,c85. But a bigger problem is where I have
the odd file which has a numeric extensions such as .;1 and that's where
I …
[View More]struggle. How do I do a substitution in my script to cope with things
like that?
I've been reading things like this -
http://www.cyberciti.biz/tips/renaming-multiple-files-at-a-shell-prompt.html
and
http://www.unix.com/answers-frequently-asked-questions/13774-unix-tutorials…
but I'm still struggling.
Can somebody point me in the right direction please, even if it's
towards the door ;-)
--
__ __| |_ __ __ .----------------------------------------------.
/ _/ _` \ V V / | mailto:cdw_alug@the-walker-household.co.uk |
\__\__,_|\_/\_/ |______________________________________________|
[View Less]
I just tried upgrading from Ubuntu 10.04 to 12.04.1 (i.e. from LTS to LTS).
It failed.
The error message I'm getting is:
An unresolvable problem occurred while calculating the upgrade:
The package 'update-manager-kde' is marked for removal but it is in
the removal blacklist.
Google suggests that "apt-get remove update-manager-kde" should fix it
[1], but that's giving me the following;
Some packages could not be installed. This may mean that you have
requested an impossible situation or if …
[View More]you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
libasound2: Breaks: libasound2-plugins (< 1.0.24) but
1.0.22-0ubuntu6 is to be installed
libglib2.0-0: Breaks: gnome-control-center (< 1:3) but
1:2.30.1-0ubuntu2 is to be installed
Breaks: gvfs (< 1.8) but 1.6.1-0ubuntu1build1 is to be installed
libgnome-keyring0: Breaks: gnome-keyring (< 3.0) but
2.92.92.is.2.30.3-0ubuntu1.1 is to be installed
libpango1.0-0: Breaks: plymouth (< 0.8.2-2ubuntu19) but
0.8.2-2ubuntu2.2 is to be installed
ppp: Breaks: network-manager (<= 0.8.0.999-1) but 0.8-0ubuntu3.3 is
to be installed
Breaks: network-manager-pptp (<= 0.8.0.999-1) but 0.8-0ubuntu3
is to be installed
E: Broken packages
Have I completely hosed my setup, and is a fresh re-install due? Or is
there a way around this?
Thanks,
Greg
[1] http://www.hoaglun.com/blog/2011/5/8/ubuntu-1010-1104-upgrade.html
[View Less]
Situation: PC running pcAnywhere, accessible via dial-up (you know that thing
we used to use before broadband? :-)
At present I have to be sat in my office (or somewhere with a phone line),
using a laptop with a modem in it, to dial in to site (the site does not have
Internet access).
Can I use my Android mobile (Galaxy SII) as a traditional modem, eg via USB
connection to PC? PC would ideally be Linux but I have pcAnywhere installed on
both.
Mark
--
Mark Rogers // More Solutions Ltd (…
[View More]Peterborough Office) // 0844 251 1450
Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER
[View Less]
If I create a Samba share (eg directly in /etc/samba/smb.conf) I can enable
following of symlinks (for just that share) with:
follow symlinks = yes
wide links = yes
unix extensions = no
When instead added to a usershare (ie in /var/lib/samba/usershares/myshare)
this doesn't seem to work. Indeed, these files seem very "fussy"; just
moving lines around or leaving lines commented out (with # or ;) seems to
break the share completely. However I can't find them documented anywhere
(nor …
[View More]indeed can I find usershare_acl properly documented anywhere).
So: Is there a way to have a usershare with the ability to follow symlinks
(without globally enabling them, which is what I've done so far)? Is there
some documentation I'm missing that explains how these work?
I can see why allowing users to enable that functionality may not be
wanted, but on the other hand having to enable it globally doesn't seem
like the best alternative. Should I just add my share to smb.conf and be
done with it?
[Ubuntu 12.10 alpha, although I'm sure I've had this problem before on
older versions.]
--
Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450
Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG
[View Less]
Hullo alug,
I've got a computer here at home running debian that gets packages
from a remote repository running behind a firewall at work using an
openvpn connection.
Local address is 192.168.10.6, remote webserver is known as
repo.tcl.office. Remote nameserver is 192.168.10.10. Openvpn uses a
tunnel of 12.3.3.0.
I have a second computer on my internal network, address assigned as
192.168.1.whatever by the dhcp server (192.168.1.2) that i would very
much like to be able to access this …
[View More]repository.
At the moment all the second computer (a balloon-type board) knows is
that it is on the network 192.168.1.0 and that its nameserver is
192.168.1.2...not much use to me at all, especially as the nameserver
is not on the openvpn and has no idea about tcl.office. I had a try
at assigning a static address on the 12.3.3.0 network to no avail, it
couldn't ping the computer here on its tun 12.3.3.6 address. Adding
various addresses to /etc/resolv.conf on the balloon make no
difference.
Is this an impossible mission, or are there any tricks and tools i can
be using to make this happen? Running openvpn on the balloon is not
an option, alas.
Hints gratefully received.
Thanks,
Jenny
[View Less]
Screen resolution is resolutely stuck at 1024 x 768. Attempting it
increase this or decrease it results either in it going awol (higher)
or impractically large to deal with (lower). I can't do anything with
the auto button the monitor.
>From xrandr (I have been googling) :
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis)
304mm x 228mm
1280x800 59.8
1280x768 59.9
1024x768 75.…
[View More]1 75.0 70.1* 60.0
832x624 74.6
800x600 72.2 75.0 70.0 60.3 56.2
848x480 60.0
640x480 75.0 72.8 72.8 66.7 60.0 59.9
720x400 70.1
So, people, does this mean a new/another monitor might be an idea? Is
there anything else I can try? (Ubuntu 11.04)
Bev.
[View Less]
ALUG Announce
Please send announcements to Announce(a)lists.alug.org.uk
Unsub, change settings via http://lists.alug.org.uk/mailman/listinfo/announce
-----
Greetings alug.
I'm just writing to let you know of the Raspberry Pi event that will
soon be taking place in Norwich.
>From the website:
Our first meeting will take place at House Cafe on Saturday 25th
August between 12:00-17:00.
House is an artistic and community friendly venue with a large
carpeted sofa area suitable for …
[View More]running talks and demonstrations.
We’re planning to run the event like a small scale unconference. The
idea is that there will be a short pre-arranged talk schedule, and
then we’ll open up the stage to anybody who wishes to demo their
projects and ideas on the provided Raspberry Pi and display.
The venue welcomes the use of laptops too, so we’re hoping to teach
and collaborate on projects and such things too.
Whether you’re an experienced programmer, a novice or are simply
curious as to what this whole Raspberry Pi movement is all about,
there will be something to gain for everyone who attends.
To submit talk ideas, please send an email to info(a)norwichrpi.org
and Steve will add you to the list. If you come up with an idea for a
talk on the day, then that’s fine too! We’ll simply add you on to the
end of the pre-arranged folks.
Hope to see you there!
stevepdp
-----
Send discussion replies to main(a)lists.alug.org.uk (Reply-To set)
Unsub, change settings via http://lists.alug.org.uk/mailman/listinfo/announce
[View Less]
Are any ALUGgers going to be at the Tour of Britain grand depart
(Ipswich waterfront - where's a good place to park?) or finish
(Norwich showground) on Sunday 9th September? Anyone like to meet up
for an ale (well maybe not at the start: 10am!) and some tech chat
while we wait for the race?
Regards,
--
MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op.
http://koha-community.org supporter, web and library systems developer.
In My Opinion Only: see http://mjr.towers.org.…
[View More]uk/email.html
Available for hire (including development) at http://www.software.coop/
[View Less]
Morning all,
I've been in conversation with the maths jam organising folks and... Norwich maths jam is go!
I'm in the process of setting up a mailing list so if you want in, please email norwich(a)mathsjam.com and I'll make sure you're on it. I'll send emails out from that address once a venue has been confirmed etc.
The maths jam is on the second-to-last tuesday of the month which makes the 1st Norwich jam the 18th September.
Whether you're interested or not, please forward this email onto …
[View More]anyone you think might be.
Steve
----- Forwarded message from Steve Engledow <steve(a)offend.me.uk> -----
Date: Tue, 24 Jul 2012 22:20:03 +0100
From: Steve Engledow <steve(a)offend.me.uk>
To: main(a)lists.alug.org.uk
Subject: OT Maths Jam
Hi folks,
Would anyone be interested in a Norwich maths jam?
See http://www.mathsjam.com/ for (fairly vague) details or check the twitter account (@MathsJam).
tl;dr: We get together in a pub on the second-to-last tuesday of the month and be geeky. I know, it sounds like the pubmeet; but this time we be geeky about mathsy things!
I reckon there ought to be enough maths geeks among the linux geeks for this to be relevant :)
Steve
----- End forwarded message -----
[View Less]
ALUG Announce
Please send announcements to Announce(a)lists.alug.org.uk
Unsub, change settings via http://lists.alug.org.uk/mailman/listinfo/announce
-----
The monthly "Third Monday" ALUG Ipswich Social Meeting is back tonight
- Monday, 20th August, at 20:00:
The Mulberry Tree
5 Woodbridge Road
IPSWICH
IP4 2EA
Tel: 01473 225776
Map/Directions URI: http://maps.google.co.uk/?q=IP4+2EA
WWW: https://www.facebook.com/MULBERRYHOSPITALITY
The Mulberry Tree, previously known as The Milestone Beer …
[View More]House, is a
grade 2 listed building in the centre of Ipswich. It is located at
the intersection between Woodbridge Road and the A1156, across the
road from the old Odeon cinema and not far from the Regent Theatre. It
re-opened on Thursday March 29th 2012 after a major refurbishment,
under its original name of The Mulberry House and has already begun to
regain a good reputation for its selection of beers and ales. It has
a sizeable car park to the rear of the building.
All are welcome, novices and experienced users. Feel free to ask for
further information on the Main ALUG mailing list.
Oops. Apologies for the late notice - I've been pretty busy most of
the day. Anyway, I intend to make it out tonight and will probably be
soliciting advice from anyone who's got any recommendations for what
to try out with rooted Android devices.
Peter.
-----
Send discussion replies to main(a)lists.alug.org.uk (Reply-To set)
Unsub, change settings via http://lists.alug.org.uk/mailman/listinfo/announce
[View Less]