Le mar. 29 déc. 2020 à 17:07, Samuel Chenal <[email protected]> a écrit :
>
> L'un d'entre vous aurait-il un script pour "normaliser" les noms de
> fichiers et de dossiers ?

Il y a "detox" qui fait exactement ce que vous cherchez et qui est
récursif sur tous les sous-répertoires.

Pierre-Olivier Maitre

man detox:
DETOX(1)                  BSD General Commands Manual                 DETOX(1)

NAME
     detox — clean up filenames

SYNOPSIS
     detox [-hnLrv] [-s -sequence] [-f -configfile] [--dry-run] [--special]
           file ...

DESCRIPTION
     The detox utility renames files to make them easier to work with.  It
     removes spaces and other such annoyances.  It'll also translate or
     cleanup Latin-1 (ISO 8859-1) characters encoded in 8-bit ASCII, Unicode
     characters encoded in UTF-8, and CGI escaped characters.
_______________________________________________
gull mailing list
[email protected]
https://forum.linux-gull.ch/mailman/listinfo/gull

Répondre à