[CentOS] wget and resulting filenames with mirror option

Wed Jul 28 22:16:22 UTC 2010
Whit Blauvelt <whit at transpect.com>

On Wed, Jul 28, 2010 at 08:51:29PM +0000, Joseph L. Casale wrote:

> When it begins mirroring it, it see's urls like this:
> https://10.0.0.61/folder/vm-name/Disc-1-flat.vmdk?dcPath=ha-datacenter&dsName=Datastore_2
> so the resulting file downloaded is not Disc-1-flat.vmdk, but:
> Disc-1-flat.vmdk?dcPath=ha-datacenter&dsName=Datastore_2

Can't do it off the top of my head, but it would be a pretty simple Perl
script to simply go through the directory and rename the files, dropping the
? and everything after.

Whit