【问题标题】:Windows 10 multi options sortingWindows 10 多选项排序
【发布时间】:2020-01-27 18:21:33
【问题描述】:

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

【问题讨论】:

  • 这对 SO 来说是个糟糕的问题。如果您正在谈论文件夹窗口,请按您的最少排序选项排序,然后按您最喜欢的选项排序。所以最后一次创建,最后一次获取,然后最后一次修改。

标签: windows-10 sorting date file-attributes


【解决方案1】:

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

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

【讨论】:

    猜你喜欢
    • 2016-03-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-11-04
    • 1970-01-01
    • 2014-04-04
    • 2010-09-25
    相关资源
    最近更新 更多