Yngvarr

Generation

generate functionTue, 06 Dec 2022

изменить имена у файлов

$files = glob('*.txt'); foreach($files as $file) { $newname = str_replace('txt', 'md', $file); rename($file, $newname); }

Questions about programming?Chat with your personal AI assistant