Warning: Undefined array key "rss_show_deleted" in /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 53
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 54
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 55
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/feed.php on line 56
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/inc/httputils.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /var/www/w12/dw/inc/Feed/FeedCreatorOptions.php:86) in /var/www/w12/dw/inc/httputils.php on line 33 wi12.unix7.org - ml
https://w12.unix7.org/
Wed, 05 Aug 2026 06:20:26 +0000FeedCreator 1.8https://w12.unix7.org/_media/wiki/dokuwiki.svgwi12.unix7.org
https://w12.unix7.org/
Rename files with Ocaml
https://w12.unix7.org/ml/dir
ocalm ml
Rename files with Ocaml
(*
* Author, Copyright: Oleg Borodin <onborodin@gmail.com>
*)
open Str
open Filename
open Unix
let ext = ".png"
let tm time = Unix.localtime time
let timestamp tm = Printf.sprintf
"%04d-%02d-%02d-%02d:%02d"
(tm.tm_year + 1900) tm.tm_mon tm.tm_mday
tm.tm_hour tm.tm_min
let regex = Str.regexp "^[a-zA-Z0-9_\\-]+.[pP][nN][gG]$"
let is_png name = Str.string_match regex name 0
let process name =
if not (Sys.is_directory name) then
if is_png…anonymous@undisclosed.example.com (Anonymous)Sat, 27 Nov 2021 13:26:11 +0000