module
Version:
v0.0.0-...-afdafad
Opens a new window with list of versions in this module.
Published: Feb 20, 2026
License: GPL-2.0
Opens a new window with license information.
README
¶
randomfile
Gets a random file name in a directory
Usage
$ randomfile <directory>
Returns
0 on success and prints the random file name to stdout
1 on failure and prints an error message to stderr
Faiilures are:
- Directory does not exist
- Directory is empty
- Directory is not a directory
Installation
go install github.com/arngrimur/randomfile
Directories
¶
|
|
|
internal
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.