Re: Size of a directory
- From: David Bolt <blacklist-me@xxxxxxxxxx>
- Date: Sun, 27 May 2007 15:37:17 +0100
On Sat, 26 May 2007, John Bowling wrote:-
David Bolt wrote:
<Snip>
mv will create the destination directory if what you're moving is a
directory. It won't create any missing directories, so you couldn't use:
Perhaps I wasn't clear enough.
mv Mydir /media/flash/
tells me it cannot create the sub directories existing under Mydir/ at
/media/flash/ and since I don't want to route out a multilayer tree and
manually recreate it somewhere else, I don't bother doing that.
If /media/flash exists but /media/flash/Mydir doesn't, mv will create
any and all directories inside Mydir when it moves it to /media/flash .
If /media/flash/Mydir already exists, you can't use mv to overwrite it.
Instead you'd need to use:
cp -r Mydir /media/flash/ && rm -r Mydir
The && ensuring that rm is only called if cp doesn't return an error.
And
clicking on the Home icon and going to the top level directory, then
another with the flash drive, I can drag the Mydir to the flash and it
all gets copied, directories duplicated as in the origional.
And exactly the same occurs when using mv.
<snip>
So, which do you think is going to be the quicker? As a "two-fingered"
typist, I know which one is quicker for me, and it'd not the one that
requires mouse clicks.
Drag and drop is quicker! And I do touch typing at about 40 words a
minute. It's the looking up what's there that takes the time.
As I said, I find it much quicker using the keyboard, unless the paths
are long and complex. That's about the only time I find drag-and-drop
faster.
Regards,
David Bolt
--
Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/
RISCOS 3.11 | SUSE 10.0 32bit | SUSE 10.1 32bit | openSUSE 10.2 32bit
RISCOS 3.6 | SUSE 10.0 64bit | SUSE 10.1 64bit | openSUSE 10.2 64bit
TOS 4.02 | SUSE 9.3 32bit | | openSUSE 10.3a4 32bit
.
- References:
- Size of a directory
- From: Henk Oegema
- Re: Size of a directory
- From: John Bowling
- Re: Size of a directory
- From: David Bolt
- Re: Size of a directory
- From: John Bowling
- Size of a directory
- Prev by Date: Re: Can't match display and screen size resolutions
- Next by Date: Re: OpenSuse vs Kubuntu
- Previous by thread: Re: Size of a directory
- Next by thread: font size used in new kicker kmenu
- Index(es):