windows-10 - Windows 10 多选项排序
问题描述
我想知道 Windows 10 中是否有一项功能允许用户使用多个属性对文件进行排序:我有一个文件夹,里面装满了用不同相机拍摄的照片,这些照片显示了它们作为不同属性拍摄的日期;日期可以存储为
- 最后修改
- 最后一次收购
- 最后的创作
我想使用某种算法对它们进行排序,该算法检查当前文件是否存在应按其排序的默认属性,如果不存在,则该文件将默认使用另一个属性,例如
sortFolderWithOptions(sortAttribute1,sortAttribute2,...) {
/* every file gets a default attributes to be sorted by */
arraySortAttributes = Array(Folder.fileLenght).fill(sortAttribute1);
for(i = 0, i < Folder.fileLenght, i++) {
/* but if the default sort attribute for this file is missing, the next sort attribute is used instead, for this file */
if(Folder.file[i].sortAttribute1 == null) arraySortAttributes[i] = sortAttribute2;
}
/* using default Windows Folder sorting algorithm */
defaultWndowsSortFolder(arraySortType);
}
sortFolderWithOptions(lastAcquisition,lastCreated)
如果 Windows 不存在这样的东西,那么 Linux 是否有任何类似的功能?或者有没有办法用某种编程语言进行这种排序或快速更改大量文件的文件数据(不是手动)?
解决方案
不确定这是否有帮助,但您可以Shift单击 Windows 中的类别!
我只是用它来对文件进行排序:FileType > Owner > ModifiedDate
推荐阅读
- vagrant - 如何使用 Vagrant 2.2.6 安装 vagrant-winnfsd v1.3.1 插件?
- python - Python:测试和设置不运行
- java - 在 GetRequest 中使用 2 个参数的 SQL 查询
- android - 如何在屏幕上按比例显示 4 个图像
- scikit-learn - 如何正确拟合 MultiLabelBinarizer?
- c# - 检索 Azure DevOps REST API 5.1 的访问令牌
- node.js - 如何使用 Mocha 为具有 async await 和 try catch 的函数编写适当的测试?
- cron - 每 13 天计划触发 Azure 管道
- mysql - Couldn't get the exact set of data from multiple tables when i write a mysql query
- javascript - 如何使用 Javascript 或 Lodash 搜索嵌套对象数组