Advanced Topics

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 Date or Time.

  • 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.

Файловая система UNIX

Несмотря на то, что файловый менеджер Thunar позволяет абстрагироваться от деталей функционирования файловых систем, иногда полезно знать основы, чтобы видеть полную картину. Этот раздел является кратким введением в концепцию файловых систем UNIX, на сегодня эта концепция используется во всех инкарнациях UNIX, включая Linux.

Папки и пути

В файловой системе UNIX все папки расположены в виде простой древовидной структуры, основой которой является папка, именуемая корневой каталог (термин каталог часто используется вместо термина папка) и отображается в Thunar как Файловая система. Это значит, что вы можете попасть из одной папки в другую просто перемещаясь по дереву файловой системы.

Местоположение любого файла и любой папки в дереве файловой системы может описывается термином путь. Путь - это список папок, которые вы должны открыть, чтобы добраться от корня файловой системы к папке или файлу. Например, путь /home/luke состоит из подпапки luke, которая в свою очередь является подпапкой папки home;а путь /home/luke/myfile.txt указывает на файл myfile.txt, расположенные в подпапке /home/luke. Открывающий слэш / обозначает корневую папку файловой системы.

Каждый пользователь имеет свою собственную папку для хранения файлов и настроек. Эта папка называется домашней папкой и отображается в Thunar специальным значком с именем пользователя. Эта папка похожа на папку Мои документы из Windows. Домашние папки пользователей обычно располагаются в папке /home.Например, папка /home/luke будет домашней папкой пользователя с именем luke, а папка /home/jane будет домашней папкой пользователя с именем jane.

Типы файлов

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.

В файловой системе UNIX существует четыре наиболее важных типов файлов.

Обычные файлы

An ordinary file may contain text, a program or other data. This includes image files, audio files, office documents and video files. The term file is often used to refer to an ordinary file.

Папки

Folders are also files in the UNIX file system. To be exact a folder is a special file, which contains a mapping of file names to file references for every file contained within this folder.

Символические ссылки

A Symbolic link (often called a symlink) is a special file that contains a path to another file in the file system. Symbolic link files therefore do not contain any useful information themselves, but just refer to other files.

Устройства

As mentioned earlier (most) devices are also accessed through the file system. These special device files are usually located in the /dev folder. For example the special file /dev/hda represents the first IDE disk on Linux.