首页 > 解决方案 > 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 是否有任何类似的功能?或者有没有办法用某种编程语言进行这种排序或快速更改大量文件的文件数据(不是手动)?

标签: windows-10sortingdatefile-attributes

解决方案


不确定这是否有帮助,但您可以Shift单击 Windows 中的类别!

我只是用它来对文件进行排序:FileType > Owner > ModifiedDate


推荐阅读