Check-in [c8a4c9f28e]
Overview
Comment:Added a script that uses a random filename for every input file
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c8a4c9f28e76f9346cb4744becb6cf2833eabc1b48bda9d7ec3bfbb5c9538cfe
User & Date: rkeene on 2019-09-20 17:10:44
Other Links: manifest | tags
Context
2019-09-20
17:28
Improved child detection in the face of file name mangaling check-in: 30c469fcf7 user: rkeene tags: trunk
17:10
Added a script that uses a random filename for every input file check-in: c8a4c9f28e user: rkeene tags: trunk
17:03
Create the synthetic data from a dict check-in: fc90ef3457 user: rkeene tags: trunk
Changes

Added xvfs-create-random version [1c76b0e90d].



































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /usr/bin/env tclsh

set sourceDirectory [file dirname [file normalize [info script]]]
lappend auto_path [file join $sourceDirectory lib]
package require xvfs

proc ::xvfs::callback::setOutputFileName {file workingDirectory inputFile outputDirectory outputFile} {
	if {$outputFile eq ""} {
		return $outputFile
	}

	set outputFile [expr rand()]

	return $outputFile
}

::xvfs::run --directory [pwd]/example --name random