Remove leading characters in file names

Renames all files in a folder to remove one or more unwanted leading characters
70 téléchargements
Mise à jour 8 sept. 2015

Afficher la licence

RemoveLeadingCharacters.m
Renames all files in a folder to remove one or more unwanted leading characters
Example:
03-song.mp3 is renamed to song.mp3 while anothersong.mp3 remains anothersong.mp3
MoveLeadingStrings.m
Renames all files in a folder to move a leading string to the back.
Example:
artist-song.mp3 is renamed to -song-artist.mp3

This could easily be rewritten to search for files recursively using Kelly Kearney's subdir.m.

Citation pour cette source

Sebastian Endrikat (2026). Remove leading characters in file names (https://fr.mathworks.com/matlabcentral/fileexchange/52926-remove-leading-characters-in-file-names), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2015a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Version Publié le Notes de version
1.0.0.0