This is the mail archive of the
cygwin-talk@cygwin.com
mailing list for the cygwin project.
Re: Avoiding the need for Windows Explorer
- From: Brian Dessent <brian at dessent dot net>
- To: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>
- Date: Mon, 07 Feb 2005 01:38:37 -0800
- Subject: Re: Avoiding the need for Windows Explorer
- Organization: My own little world...
- References: <ffbc01h8qvi6j59vrs496eub7n5hds6vtg@4ax.com>
- Reply-to: Talk Amongst Yourselves <cygwin-talk at cygwin dot com>
zzapper wrote:
> cd /d/backup/oldsites/something/site/
>
> at the prompt type
>
> S=`pwd`
>
> go to the destination directory
>
> cd /c/inetpub/wwwdev/www.something.co.uk/website
>
> you can then type something like
>
> cp $S/*.php .
I utterly fail to see the point to this. Why not just do it all one on
cp command line? You're still typing or using tab completion for two
'cd' commands, when you could just do
cp <type or use tab completion for location 1>/*.php <type or use tab
completion for location 2>
You're already doing the <type or use tab completion> part for both
'cd's so why involve all the extra steps?
Brian