I was wondering if there was anyway to get an option so when doing a rpdcp it does not tag on .hostname to the end of the file.
In my case i have 300 servers with files named hostname.html that i retrieve. i remove the .hostname from the file after it is downloaded, but it would be great if there was an option to just not have it on there to begin with (i do understand the problems if it tries to grab two files with the same name).
thanks,
Sean
Comment #1
Posted on Jul 12, 2012 by Happy OxThis should be doable -- I wonder if an output format is the best way to do this -- like %f expands to filename, %h hostname, %n nodeid .. the default would be %f.%h, but you could change that to %f -- I'm not sure what to do if a filename already exists though.
Maybe the best thing would indeed be an option to avoid adding the hostname, but as you said, the documentation would say something to the effect of "at your own risk" ;)
Status: Accepted
Labels:
Type-Enhancement
Priority-Medium