Re: wget and resulting filenames with mirror option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux