Just an idea but the Sir Percy Shelley in Boscombe has free Wi-fi and good 
public transport links eg Pokesdown Rail Stn and good bus links. Also as is a 
Weatherspoons pub has cheap but good quality ale etc.

Was in there briefly last night (Wednesday) and seemed to have enough space and 
a quiet enough atmosphere for a DLUG meeting. 

Mark Elkins

--- On Wed, 24/11/10, [email protected] 
<[email protected]> wrote:

From: [email protected] <[email protected]>
Subject: dorset Digest, Vol 360, Issue 3
To: [email protected]
Date: Wednesday, 24 November, 2010, 12:00

Send dorset mailing list submissions to
    [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
    https://mailman.lug.org.uk/mailman/listinfo/dorset
or, via email, send a message with subject or body 'help' to
    [email protected]

You can reach the person managing the list at
    [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dorset digest..."


Today's Topics:

   1. Re: cd question (Chris Dennis)
   2. Re: cd question (Andrew R Paterson)
   3. Re: cd question (Andrew R Paterson)
   4. Re: cd question (Keith Edmunds)
   5. Re: cd question (Sean Gibbins)
   6. Next Bournemouth meet? (Natalie Hooper)
   7. Re: Next Bournemouth meet? (Victor Churchill)


----------------------------------------------------------------------

Message: 1
Date: Tue, 23 Nov 2010 16:49:54 +0000
From: Chris Dennis <[email protected]>
Subject: Re: [Dorset] cd question
To: Dorset Linux User Group <[email protected]>
Cc: Tim <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed

On 22/11/10 18:05, Tim wrote:
>
> I am a cli dunce so please bear with me.
>
> Lets say I am working in the terminal screen in the following folder
>
> m...@computer:~#/folder1/folder2/folder3/folder4/folder5 mv blah blah.........
>
> Now I want to go back to work in folder2, what the easy command to get me back
> there??
>
> I have to move a lot of files (1 and 2) between a lot of folders and retyping
> the full path everytime is wearing my keyboard out!!

I use MidnightCommander (aka mc) for that sort of thing.

See http://www.midnight-commander.org/

Install with

   aptitude install mc

or equivalent.

cheers

Chris

-- 
Chris Dennis                                  [email protected]
Fordingbridge, Hampshire, UK



------------------------------

Message: 2
Date: Tue, 23 Nov 2010 19:08:40 +0000
From: Andrew R Paterson <[email protected]>
Subject: Re: [Dorset] cd question
To: Dorset Linux User Group <[email protected]>
Message-ID: <[email protected]>
Content-Type: Text/Plain;  charset="iso-8859-1"

On Monday 22 November 2010, Peter Merchant wrote:
> On Mon, 2010-11-22 at 19:30 +0000, John Carlyle-Clarke wrote:
> > On 22/11/10 18:05, Tim wrote:
> > > I am a cli dunce so please bear with me.
> > > 
> > > Lets say I am working in the terminal screen in the following folder
> > > 
> > > m...@computer:~#/folder1/folder2/folder3/folder4/folder5 mv blah
> > > blah.........
> > > 
> > > Now I want to go back to work in folder2, what the easy command to get
> > > me back there??
> > > 
> > > I have to move a lot of files (1 and 2) between a lot of folders and
> > > retyping the full path everytime is wearing my keyboard out!!
> > 
> > All the other suggestions are excellent, but let's have some more ;)
> > 
> > You could use shell variables to remember the paths:
> > 
> > src=/folder1/folder2/folder3/folder4/folder5
> > dst=/folder1/folder2
> > 
> > Then use cd "$src" and cd "$dst" as required, or mv somefile "$dst"
> > 
> > (The quotes stop things breaking if the paths have spaces in them.)
> > 
> > Or, how about doing (in folder5):-
> > 
> > ls > files
> > vim files
> > (OR nano files, OR gedit files, as you prefer)
> > 
> > Delete the ones you don't want to move, then save the file and:
> > 
> > dest=/folder1/folder2; while read -r file; do mv "$file" "$dest"; done <
> > files
> > 
> > (That's all on one line but it may wrap here)
> > 
> > That should do a move for each filename, one per line, in "files".
> > 
> > Another way is with find, if the files have some criteria you can
> > define.  Find has a lot of options, and can be a bit daunting, but a
> > good pattern to remember is:-
> > 
> > find [<paths>] [<tests>] [<actions>]
> > 
> > The default path is "." and the default action is "print", so just
> > typing "find" will recursively list files in the current directory and
> > subdirectories.
> > 
> > For example,
> > 
> > find -mtime -1 -maxdepth 1
> > 
> > Will print file names of files modified more recently than 24 hours ago
> > in this directory only (will not go into subdirectories).
> > 
> > There are many ways to use this.  You could do:-
> > 
> > find -mtime -2 -iname 'foo*' > files
> > 
> > To send all files modified in the last two days matching foo* to a file
> > called "files", and then use the mechanism above.
> > 
> > Another way is to use the pattern:-
> > 
> > find <stuff> -exec <command> '{}' \;
> > 
> > That's a bit odd looking, but <command> gets executed for each file
> > found, replacing '{}' with the name.  For example:-
> > 
> > find -mtime -2 -iname 'foo*' -exec mv '{}' /folder1/folder2
> > 
> > (The first time, you may want to do..
> > 
> > find -mtime -2 -iname 'foo*' -exec echo mv '{}' /folder1/folder2
> > 
> > )
> > 
> > (You can probably stop here if this is getting too much, or have a cup
> > of tea and come back ... )
> > 
> > You can also use xargs, which takes files on the standard input and
> > executes a command, passing them as arguments to it.  There are ways to
> > control what to do if nothing is passed, or how many arguments at once
> > the command can take.  See man xargs for more.
> > 
> > Here's an example:-
> > 
> > find -mtime -2 -iname 'foo*' | xargs rm -i
> > 
> > This will delete all files that find matches.  It's easy if you want all
> > the files chained onto the end of the command, but you don't so you have
> > to use another option for xargs:-
> > 
> > find -mtime -2 -iname 'foo*' | xargs -I '{}' mv '{}' /folder1/folder2
> > 
> > Here, -I specifies some arbitrary string which gets replaced with the
> > items being fed into xargs.
> > 
> > There's one more strange thing you might see, and that is to avoid the
> > fact that here files are 1 per line, but it is technically possible for
> > a filename to contain a line break.  You can make find spit things out
> > separated with a NULL character instead, and tell xargs to expect this.
> > 
> > find -mtime -2 -iname 'foo*' -print0 | xargs -0 -I '{}' mv '{}'
> > /folder1/folder2
> > 
> > One last bit of polish:-
> > 
> > find -mtime -2 -iname 'foo*' -print0 | xargs --no-run-if-empty -0 -I
> > '{}' mv '{}' /folder1/folder2
> > 
> > That's probably self-explanatory.
> > 
> > I know the above look a bit odd at first, but I found I'd learn them one
> > "formula" at a time and each time I needed to do something different,
> > I'd learn a variation, and so on.
> > 
> > Have fun!
> 
> And my wife complains that under MS Windows there are so many ways to do
> things and why couldn't they just have one way to do it.
> 
> 
> I am lazy. From the terminal I would just type in 'sudo dolphin' and
> split the display to move them.
> 
> 
> Peter
> 
> 
> 
> 
> 
> 
> 
> --
> Next meeting:  Somewhere quiet, Bournemouth, ???day 2010-12-?? 20:00
> Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
> How to Report Bugs Effectively:  http://goo.gl/4Xue
As an old time UNIX cli man thats exactly what I would have done!
Its exactly what they invented drag'n'drop for :)

-- 
Andy Paterson



------------------------------

Message: 3
Date: Tue, 23 Nov 2010 19:16:54 +0000
From: Andrew R Paterson <[email protected]>
Subject: Re: [Dorset] cd question
To: Dorset Linux User Group <[email protected]>
Message-ID: <[email protected]>
Content-Type: Text/Plain;  charset="iso-8859-1"

On Tuesday 23 November 2010, Peter Merchant wrote:
> On Mon, 2010-11-22 at 22:51 +0000, Victor Churchill wrote:
> > On 22 November 2010 20:56, Peter Merchant <[email protected]> wrote:
> > > And my wife complains that under MS Windows there are so many ways to
> > > do things and why couldn't they just have one way to do it.
> > > 
> > > 
> > > I am lazy. From the terminal I would just type in 'sudo dolphin' and
> > > split the display to move them.
> > > 
> > > Watch out, you'll get me started about emacs ;-)
> 
> I remember using emacs on the PT-121(?) terminals at Plessey. I think I
> threw out the user guide for it about a year ago.
> 
> PM
> 
> 
> --
> Next meeting:  Somewhere quiet, Bournemouth, ???day 2010-12-?? 20:00
> Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
> How to Report Bugs Effectively:  http://goo.gl/4Xue
HOWEVER! I recently worked somewhere where we had to access masses of servers 
throughout the country over the internet (some vpn - some not) and I can tell 
you that a simple telnet/netterm tty login was the _only_ way and it was VERY 
effective - particularily when logging in via a terminal concentrator to reboot 
something like  a sun server (i.e console only access) .
So there is a LOT of life left in in tty (CLI) only access yet!  

-- 
Andy Paterson



------------------------------

Message: 4
Date: Tue, 23 Nov 2010 19:32:18 +0000
From: Keith Edmunds <[email protected]>
Subject: Re: [Dorset] cd question
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII

On Tue, 23 Nov 2010 19:16:54 +0000, [email protected] said:

> So there is a LOT of life left in in tty (CLI) only access yet!

Absolutely. At work, we support and work on a large number of Linux
servers around the country, and none of them has a GUI: everything done by
the command line (and some distributed management tools).



------------------------------

Message: 5
Date: Tue, 23 Nov 2010 19:53:29 +0000
From: Sean Gibbins <[email protected]>
Subject: Re: [Dorset] cd question
To: [email protected],     Dorset Linux User Group
    <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

On 23/11/10 19:08, Andrew R Paterson wrote:

---8<--- Snip!

> On Monday 22 November 2010, Peter Merchant wrote:
>>
>> And my wife complains that under MS Windows there are so many ways to do
>> things and why couldn't they just have one way to do it.
>>
>>
>> I am lazy. From the terminal I would just type in 'sudo dolphin' and
>> split the display to move them.
> As an old time UNIX cli man thats exactly what I would have done!
> Its exactly what they invented drag'n'drop for :)

There, doesn't that look better?

:-)

Sean


-- 
music, film, comics, books, rants and drivel:

www.funkygibbins.me.uk




------------------------------

Message: 6
Date: Wed, 24 Nov 2010 07:54:06 +0000
From: Natalie Hooper <[email protected]>
Subject: [Dorset] Next Bournemouth meet?
To: Dorset Linux User Group <[email protected]>
Message-ID:
    <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

Has a date been decided for the next Bournemouth meet? Is the plan still to
meet at The Broadway on a non-karaoke night?


-- 
New Tetris-meet-Sudoku game for Android - look for Sudoku Way on the market
(light version is functional and free)

Google Android, programming and web design at http://www.cogitas.net/blog/


------------------------------

Message: 7
Date: Wed, 24 Nov 2010 09:45:05 +0000
From: Victor Churchill <[email protected]>
Subject: Re: [Dorset] Next Bournemouth meet?
To: Dorset Linux User Group <[email protected]>
Message-ID:
    <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

On 24 November 2010 07:54, Natalie Hooper <[email protected]>wrote:

> Has a date been decided for the next Bournemouth meet? Is the plan still to
> meet at The Broadway on a non-karaoke night?
>
> I have kind of implied that I will go down there to check availability. I
haven't done that yet but will do before the end of the week.



>
> --
> New Tetris-meet-Sudoku game for Android - look for Sudoku Way on the market
> (light version is functional and free)
>
> Google Android, programming and web design at http://www.cogitas.net/blog/
> --
> Next meeting:  Somewhere quiet, Bournemouth, ???day 2010-12-?? 20:00
> Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
> How to Report Bugs Effectively:  http://goo.gl/4Xue
>



-- 
best regards,

Victor Churchill,
Bournemouth


------------------------------

_______________________________________________
dorset mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/dorset

End of dorset Digest, Vol 360, Issue 3
**************************************



      
--
Next meeting:  Somewhere quiet, Bournemouth, ???day 2010-12-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to