Minggu, 24 November 2013

Bristol Digest, Vol 526, Issue 3

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

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


Today's Topics:

1. Re: Copying links without inadvertently copying the linked
files instead (Martin Moore)
2. Re: Copying links without inadvertently copying the linked
files instead (D J Stewart)
3. Re: Copying links without inadvertently copying the linked
files instead (Chris Makepeace)
4. off topic high speck laptop for sale!! (trahern culver)


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

Message: 1
Date: Sat, 23 Nov 2013 13:35:29 -0000
From: "Martin Moore" <martinm@it-helps.co.uk>
To: "'Bristol and Bath Linux User Group'" <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Copying links without inadvertently copying the
linked files instead
Message-ID:
<!&!AAAAAAAAAAAYAAAAAAAAAFLxZtQqo65Oo+1jhlUB9DvCgAAAEAAAAGMHoZ5ToydNi9zKF5NMsvkBAAAAAA==@it-helps.co.uk>

Content-Type: text/plain; charset="us-ascii"

% du -sh --max-depth=1 directoryname



Will give the total size, otherwise you'll list every file in the tree.





From: bristol-bounces@mailman.lug.org.uk
[mailto:bristol-bounces@mailman.lug.org.uk] On Behalf Of Conor O'Neill
Sent: 23 November 2013 11:12
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Copying links without inadvertently copying the
linked files instead



On 22/11/13 17:17, Chris Makepeace wrote:

(Mac-related; act accordingly.)



One of the Mac's little features is Time Machine, their hourly incremental
backup program which, I understand, behaves like rsync, in that each time it
runs it only actually copies changed files and maintains only a tree of
links to the unchanged ones. I have a tree of approx 490GB that needs to be
shifted to another disk. When this tree is looked at via the UI it is shown
as 13TB big, thanks to all the links being expanded in the process.



I have tried cp -R to copy a single day's subtree and the result looked like
it was copying files not links. I get lost trying to sort out symbolic v
hard links and so on, hard though it may be to believe.



What syntax would allow me to just shift the whole tree onto another device
safely, please? And to determine the tree's actual (unexpanded) size?


% du -sh directoryname

This shows directory sizes (du stands for disk usage).
"man du" should tell you about more options.

Regards - Conor



--
Conor O'Neill
_____


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4158 / Virus Database: 3629/6843 - Release Date: 11/17/13

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20131123/564acc53/attachment-0001.html>

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

Message: 2
Date: Sat, 23 Nov 2013 15:53:12 +0000 (GMT)
From: D J Stewart <bblug@iridium.org.uk>
To: martinm@it-helps.co.uk, Bristol and Bath Linux User Group
<bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Copying links without inadvertently copying the
linked files instead
Message-ID:
<alpine.DEB.2.02.1311231550350.8941@lithium.iridium.org.uk>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Sat, 23 Nov 2013, Martin Moore wrote:

> % du -sh --max-depth=1 directoryname

You can save yourself some typing if you drop the --max-depth=1

> Will give the total size, otherwise you'll list every file in the tree.

$ du -sh ~/
67G /home/dave/

>From du(1):

-s, --summarize
display only a total for each argument


--
Dave Stewart




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

Message: 3
Date: Sun, 24 Nov 2013 01:22:55 +0000
From: Chris Makepeace <chris@makepeace.net>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Copying links without inadvertently copying the
linked files instead
Message-ID:
<CACOFJnWTmx1vL0Pgy=4tX5KNo7XY6bdGweXV=Q+yEeURtuH0Dg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Many thanks everybody - the great file transfer is underway with reassuring
'cp symlink:.... File exists' every now and then. The Mac cp -a-ing
through the tree to my little NAS-alike (NSA310) and trying to do anything
on it while this has been going on has been unbelievably slow: 20 second
waits to change tabs in a browser - like an old XP installation ( I know
because I have one and it's going to be Ubuntu-ed or Mint-ed tomorrow,
depending on which distro I have will still run on a 2005 Celeron...).

?Cheers and thanks again,
--

ChrisM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20131124/8881f8df/attachment-0001.html>

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

Message: 4
Date: Sun, 24 Nov 2013 02:56:14 +0000
From: trahern culver <sound.warrior20@gmail.com>
To: list@dcglug.org.uk
Cc: Bristol and Bath Linux User Group <Bristol@mailman.lug.org.uk>
Subject: [bristol] off topic high speck laptop for sale!!
Message-ID: <0E52A426-B5C6-47D2-AC00-435113E4E48E@gmail.com>
Content-Type: text/plain; charset=iso-8859-1

hey all i'm offering my current studio lap top for sale. its a 14 inch xenon with 1tb hard drive 8gb ram and i7 quod core processor running at 2.86 ghz it has a dvd and cd rom combo drive with 3 usb ports and standed blue tooth and wlan features it will come clean with no os and the price is ?800 please e-mail me if interested thanks for reeding and i hope to here from you soon kind regards trahern.


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

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

End of Bristol Digest, Vol 526, Issue 3
***************************************

Tidak ada komentar:

Posting Komentar