Sha256: 579d73fe4d0494c1aefd1bd3dcf79669f74c5263ea8b2d82036d86ccfd4c15e8

Contents?: true

Size: 767 Bytes

Versions: 34

Compression:

Stored size: 767 Bytes

Contents

#!/usr/bin/env ruby
# Wmap data repository Dump - Dump out a list of unique websites stored in the current tracking data repository.  
# Usage: wdump <output file>
require "wmap"

def print_usage
	puts "Program to dump out unique website assets from the local repository. Usage: wdump <output file>"
end

puts Wmap.banner
Log_dir=File.dirname(__FILE__)+'/../logs/'
Wmap.wlog("Execute the command: wdump #{ARGV[0]}","wdump",Log_dir+"wmap.log")

unless ARGV.length==1
	print_usage  
	abort "Program argument error. Please check your input and try again. " 
end
# dump out the unique target list in .csv format
continue=Wmap.dump(ARGV[0]+".csv")
# continue to dump out the list in the .xml format if previous step is successful
Wmap.dump_xml(ARGV[0]+".xml") if continue

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
wmap-2.8.4 bin/wdump
wmap-2.8.3 bin/wdump
wmap-2.8.2 bin/wdump
wmap-2.8.1 bin/wdump
wmap-2.7.9 bin/wdump
wmap-2.7.7 bin/wdump
wmap-2.7.6 bin/wdump
wmap-2.7.2 bin/wdump
wmap-2.7.1 bin/wdump
wmap-2.7.0 bin/wdump
wmap-2.6.9 bin/wdump
wmap-2.6.8 bin/wdump
wmap-2.6.7 bin/wdump
wmap-2.6.6 bin/wdump
wmap-2.6.5 bin/wdump
wmap-2.6.4 bin/wdump
wmap-2.6.3 bin/wdump
wmap-2.6.2 bin/wdump
wmap-2.6.1 bin/wdump
wmap-2.6.0 bin/wdump