如何使用Total Commander一次重命名许多文件

image

So you have a bunch of files with sloppy-looking names. It’s not that the names are wrong, but they’re all lowercase, missing spaces, and generally messy. Not a problem for Total Commander’s multi-rename tool! Read on and see.

因此,您有一堆名称看起来很草率的文件。 并不是说名字是错误的,而是全部都是小写字母,缺少空格,而且通常很乱。 Total Commander的多重重命名工具不是问题! 继续阅读并查看。

获得总指挥官 (Getting Total Commander)

Total Commander is a powerhouse file management utility. It’s a “dual-pane” file manager, which basically means it looks like this:

Total Commander是强大的文件管理实用程序。 这是一个“双窗格”文件管理器,基本上意味着它看起来像这样:

image

If that makes you think of ancient DOS-era file managers such as Norton Commander, you’ve got the right idea – that’s where Total Commander comes from. But make no mistake – this is a thoroughly modern application, with a ton of features. Today we’ll be going over just one small feature – the multiple-rename option.

如果您想到了诸如诺顿指挥官(Norton Commander)这样的DOS时代的古代文件管理器,那么您就有了正确的想法-这就是Total Commander的来历。 但是请不要误会–这是一个完全现代的应用程序,具有许多功能。 今天,我们将只讨论一个小功能-多重重命名选项。

While Total Commander is shareware, its trial is not time limited. So the first thing you should do is go to the Total Commander Download Page and get the installer.  Install Total Commander on your computer and run it.

Total Commander是共享软件,但其试用不受时间限制。 因此,您应该做的第一件事是转到Total Commander下载页面并获得安装程序。 在计算机上安装Total Commander并运行它。

选择要重命名的文件 (Selecting The Files to Rename)

On running Total Commander, the first thing you would see is something like this:

在运行Total Commander时,您会看到的第一件事是这样的:

image

Note that on your system, the colors and fonts would be different – the background would be white, and the font a bit blockier. You can change the colors any way you like – as you can see, we like dark backgrounds.

请注意,在您的系统上,颜色和字体将有所不同–背景将为白色,而字体则会有点阻塞。 您可以按自己喜欢的方式更改颜色-如您所见,我们喜欢深色背景。

Next, navigate to wherever you put the files you wish to rename, and select each of the files by right-clicking it with the mouse or hitting the Insert key.

接下来,导航到要重命名的文件所在的位置,然后通过用鼠标右键单击每个文件或单击插入键来选择每个文件。

image

Note how we’ve selected only those files we wish to rename. Now go into the multi-rename tool by pressing Ctrl+M or opening the Files menu and clicking Multi-Rename Tool.

请注意,我们是如何仅选择希望重命名的文件的。 现在,通过按Ctrl + M或打开“文件”菜单并单击“多重重命名工具”,进入多重重命名工具。

image

重命名文件 (Renaming the Files)

This is where the magic happens, at least for this How-To. At first, the multi-rename tool simply shows you the current filenames.

至少对于本操作方法而言,这就是魔术发生的地方。 首先,多重重命名工具只是向您显示当前文件名。

image

The old name is on the left side, the new one is on the right. At the moment, they’re the same. Now let’s start tweaking some of the settings and see what happens.

旧名称在左侧,新名称在右侧。 目前,它们是相同的。 现在让我们开始调整一些设置,看看会发生什么。

image

This is looking better already. Here’s what we did:

这看起来已经更好了。 这是我们所做的:

  • To replace all the dashes and the underscore with spaces, we typed -|_ into the Search for box. That’s dash (-), pipe (|) and underscore (_). The pipe means “OR” – so we tell Total Commander to search for dashes OR underscores.

    要用空格替换所有破折号和下划线,我们在“搜索”框中键入-| _。 这是破折号(-),竖线(|)和下划线(_)。 管道的意思是“或” –因此,我们告诉Total Commander搜索破折号或下划线。
  • Then, in the Replace with box, we just typed a single space character. You can’t see that in the image, but it’s there. That’s because we want to replace all the dashes and underscores with spaces.

    然后,在“替换为”框中,我们只键入了一个空格字符。 您在图像中看不到它,但它在那里。 那是因为我们要用空格替换所有的破折号和下划线。
  • We then ticked the checkbox that says RegEx. That’s short for Regular Expressions. We won’t go too deeply into that right now, but we can say what we did in the first step (-|_) is a simple regular expression, which is why we need to enable this.

    然后,我们勾选了RegEx复选框。 这是正则表达式的缩写。 我们现在不会对此进行深入研究,但是我们可以说第一步(-| _)中的操作是一个简单的正则表达式,这就是为什么我们需要启用它。
  • Last but not least, we’ve selected “First of each word uppercase” in the Upper/lowercase drop-down box.

    最后但并非最不重要的一点是,我们在大写/小写下拉框中选择了“每个单词的首字母大写”。

That’s it! Now simply hit Start! and Total Commander would transform your messy filenames into neat, properly capitalized filenames with no underscores or dashes.

而已! 现在只需点击开始! Total Commander会将您混乱的文件名转换为整洁,大小写正确的文件名,且不带有下划线或破折号。

不是终点,而是起点 (Not an End, But a Beginning)

If this how-to feels a bit simplistic, it’s because we’ve barely scratched Total Commander’s surface. Feel free to leave any questions in the comments and we might post a follow-up!

如果此操作方法有些简单,那是因为我们几乎没有刮过Total Commander的表面。 随时在评论中留下任何问题,我们可能会发布后续消息!

翻译自: https://www.howtogeek.com/56580/how-to-rename-many-files-at-once-with-total-commander/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值