{"service":"corpus","corpus":"git","source":"Software Heritage origin index (GitHub origins)","license":"Per source; see source terms","citation":"","record":{"id":"baz/datecp","title":"baz/datecp","text":"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","snippet":"","snippet_marked":"","source":"Software Heritage origin index (GitHub origins)","citation":"https://git.go-v.org/record/baz%2Fdatecp","license":"Per source; see source terms","year":"","url":"/record/baz%2Fdatecp","fields":{},"description":"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"},"generated_at":"2026-11-30T02:20:57Z"}