Sujets avancés

To Bulk Rename Files

To bulk rename files means to rename multiple files at once using some criterion, that applies to atleast one of the files. Thunar includes a bulk renamer, which can be run separately using the command Thunar -B or from within Thunar by selecting two or more files in the main area and pressing F2 or choosing EditRename... from the main menu.

Bulk Rename Files

The Bulk Renamers can be applied to the name of the files, the suffix of the files or both to the name and the suffix of the files. Thunar currently supports the following Bulk Renamers:

  • Remove characters.

  • Numbering files.

  • Insert or overwrite characters.

  • Search and replace characters.

  • Convert to uppercase, lowercase or camlcase.

Additional Bulk Renamers may be installed as plugins for Thunar. Check the Thunar Plugins website for currently available extensions. The Thunar Project Wiki contains further details about this feature. Feel free to add more information to the Wiki.

Le système de fichiers UNIX

While the Thunar file manager does a good job at abstracting the details of the underlying file system, so the user does not need to care about them, it is sometimes useful to understand the basic concepts to get the whole picture. This section tries to give a brief introduction to the concepts of the UNIX file system, which is used today by all incarnations of UNIX, including Linux.

Dossiers et chemins

Dans un système de fichier UNIX tous les dossiers sont arrangés dans une structure en forme d'arbre simple inversé descendant et héritant d'un dossier unique de plus haut niveau, appelé le répertoire racine (le terme répertoire est souvent utilisé à la place de dossier) et affiché comme Système de fichier dans Thunar. Ce qui signifie que vous pouvez aller de n'importe quel dossier vers n'importe quel autre en en remontant dans l'arbre jusqu'à un point commun, puis vous descendez à travers les sous-dossiers appropriés jusqu'à atteindre votre but.

The position of any file or folder in the tree can be described by its path. The path is the list of folders you would have to descend through to get to the target folder or file, starting from the top level folder. For example /home/luke is the subfolder luke of the subfolder home of the top level folder, and /home/luke/myfile.txt is the file myfile.txt in that subfolder. The leading / in these paths represents the top level folder.

Every user has their own folder to hold their personal files and settings. This folder is called the home directory and is displayed in Thunar as special icon with the users login name. The folder is similar to the My Files folder known from Windows. The home directories of the various users in a system are usually located below the /home folder. For example /home/luke would be the home directory of the user with the login name luke, while /home/jane would be the home directory for the user with the login name jane.

Types de fichier

You may have already heard that everything is a file in UNIX. This is true for most objects present in UNIX systems today. In fact even devices are represented as a special files. While this may not make sense at first sight, it is one of the strengths of UNIX and its derivates, and has helped it to maintain a simple core over the years where other operating systems had to introduce new concepts for every new technology.

Voici les quatre types les plus importants de fichiers dans le système de fichiers UNIX.

Fichiers ordinaires

Un fichier ordinaire peut contenir un texte, un programme ou d'autres données. Ceci inclut les fichiers d'images, de sons, les documents office et les vidéos. Le terme fichier est souvent utilisé pour faire référence à un fichier ordinaire.

Fichier de dossier

Les dossiers sont aussi des fichiers dans le système de fichier UNIX. Pour être exact le dossier est un fichier spécial, qui contient une carte des références aux noms de tous les fichiers à l'intérieur.

Fichier de lien symbolique

Un lien symbolique (souvent appelé un symlink) est un fichier spécial qui contient un chemin vers un autre fichier dans le système de fichier. Un fichier lien symbolique ne contient donc aucune information utile en lui-même, mais est juste une référence à un autre fichier.

Fichiers de périphérique

Comme mentionné plus tôt (la plupart) des périphériques sont aussi accessibles à travers le système de fichiers. Ces fichiers de périphériques spéciaux sont situés dans le dossier /dev. Par exemple, le fichier spécial /dev/hda représente le premier disque IDE pour Linux.