baz/datecp
Ruby script to make a copy of a file and append a datestamp to it. Generates a unique datestamp each time by examining existing files in the directory for clashes and if found, will further incrementally append the hour, then the minutes, and then the seconds to the filename, i.e. filename_20070818_105535
Ruby script to make a copy of a file and append a datestamp to it. Generates a unique datestamp each time by examining existing files in the directory for clashes and if found, will further incrementally append the hour, then the minutes, and then the seconds to the filename, i.e. filename_20070818_105535
Read full text or abstract (307 characters)
Cite this record
MLA
"baz/datecp." Software Heritage origin index (GitHub origins), n.d., https://git.go-v.org/record/baz%2Fdatecp.
Chicago
"baz/datecp." Software Heritage origin index (GitHub origins). n.d.. https://git.go-v.org/record/baz%2Fdatecp.
APA
Software Heritage origin index (GitHub origins). (n.d.). baz/datecp. https://git.go-v.org/record/baz%2Fdatecp
Share card · JSON record · Cite this record (BibTeX) · Embed