美文网首页
Directory Opus 学习使用1 2020-10-03

Directory Opus 学习使用1 2020-10-03

作者: 平知 | 来源:发表于2020-10-06 20:13 被阅读0次

    第1章节  Basic Concepts

    ◆ The Lister

      这个概念,代表着我们日常认知中的“主窗体”也就是下图。

      功能区细分:

    ◆ Explorer Replacement

      windows原生的资源浏览器的替代。可以设置选项,在你操作文件或者文件夹的时候,默认使用Directory Opus而不是windows的Explorer。

    ◆ Source and Destination

      在文件操作过程中,使用Source和Destination文件夹的概念,让复制移动等文件操作只需要一步操作(相对于以往的windows操作而言,需要复制,粘贴),具体什么是Source什么是Destination,根据你的执行的操作不同而有不同。

      上面2个图,目标窗体并不一致,这说明了 Source和Destination是相对的,并不绝对。
      文档原文:In a dual-display Lister, the source file display is always the active one - the one with input focus. You can make a file display active by clicking in it - therefore, it follows that the last file display you clicked in will generally be the source. You can also switch the source/destination states of the file displays by clicking on the status bar - this is useful to remember, as it allows you to change state without the risk of accidentally selecting a file (or losing the existing file selection) which could otherwise happen.
      在双列显示的时候,,永远是当前的活动列

      
      
      
      当有2个程序的实例运行的时候,是如何区分Source和Destination的?

      注意这里个2个程序实例,都是单栏模式运行,所以程序把另外一个实例的作为Destination,移动命令可以正常执行。

      ☞ 那么,当2个实例出现3栏的时候会如何?

    ◆ Selecting Files

      多种文件选择方式,包括通配符选择等等。

    ◆ Searching and Filtering
    ◆ Sorting and Groupin
    ◆ Folder Options
    ◆ Flat View
    ◆ Virtual File System

      虚拟文件系统

      
      

    • 1-1 The Lister

      ◆ 1、Opening a Lister 打开主窗口
      几个不太常规的打开方式:1是在桌面的任何空的位置,双击可以打开。2是使用快捷键Windows+Shift+E

      There are many different ways to open a Lister (or Listers), including:
      
      * When you start Opus from the desktop icon, or the icon on the Windows 7 taskbar, a Lister will open
      * If Explorer Replacement mode is enabled, double-clicking a folder on the desktop, or pressing the Windows+E hotkey (even when Opus isn't running)
      * If enabled in Preferences, you can double-click on an empty spot on the desktop (even when Opus isn't running)
      * If enabled in Preferences, you can double-click on the system tray icon that Opus adds when it's running
      * You can set Opus to run on startup and automatically show a Lister when it does
      * You can load a saved Lister Layout from the desktop context menu or the Settings menu in an existing Lister
      * You can use one of the internal commands (like Go NEW) to open a Lister from a button or a hotkey (Windows+Shift+E is assigned by default)
      
      How you open your Listers really depends on you, and on how you want to work with Opus. You can configure Opus to always open a Lister when it starts up, keeping one open all the time - or to only open one when you need it. You can work with as many or as few Listers open at once as you like.

      ◆2、Navigation 导航
      在不同文件夹之间切换:1是使用下面的按钮

      2是使用文件夹树

      3是使用面包屑导航栏。每一级导航都可以单独点击进入。

      4使用收藏夹(包括智能收藏系统)

      5使用别名

      There are many ways you can navigate (that is, move from one folder to another) in a Lister, including:
      You can double-click a folder in the current location to enter it. You can also enter a folder by right-clicking on it and choosing Open from the context menu, or from the keyboard by using the cursor keys to select it and then pressing the Enter key.
      The Up, Forward and Back buttons: The default File Display toolbar contains buttons that can move you up in the folder hierarchy, back to the previous folder or forward to the next folder.
      The Folder Tree: You can change folder by simply clicking on a new folder in the tree (you can also navigate via the tree using the keyboard cursor keys).
      File Display border: If the File Display toolbar has been disabled, a smaller border is displayed in dual-display mode which shows the current path and provides some default navigation buttons.
      The Breadcrumbs location field: The default File Display toolbar contains a field known as the 'breadcrumbs location field'. This displays your current location as "breadcrumbs" that indicate the path from the desktop to your current folder. Each "crumb" in the path is active and can be clicked or expanded. You can also type into this bar in order to navigate to a folder using the keyboard.
      Favorites: You can add folders to a list of your favorite locations - navigating to these folders is simply a matter of selecting them from the drop-down menu. Access the favorites from the drop-down on the default File Display toolbar or from the tree.
      SmartFavorites: If enabled, the SmartFavorites system attempts to learn your most commonly used locations automatically. A list of these locations is then displayed in the drop-down Favorites menu.
      Recent and History Lists: Opus maintains two lists of your recently used locations, that you can use to instantly go back to a folder you were recently in. One (the Recent list) is global to the program, and the other (the History list) is local to a file display.
      Aliases: You can define aliases that reference a folder by a simple name - you can then navigate to an aliased folder by typing its name into the location field.

      ◆3、Tabs 标签

      可以在多个文件夹之间快速切换(这个功能基本上所有类似软件都有)。切换tab的快捷键:Ctrl+ 键盘左、右
      具体的tabs各种属性,可以根据需要进行设置。

      新建Tab的方式:

      设置tab的颜色(在tab上右键):

      使用鼠标操作tab的几种方式:
      关闭tab:鼠标左键双击;中键单击。
      移动文件:


      拖动tab:


      重命名tab,能有特殊效果:

            %P - full path of the current folder
            %N - name of the current folder
            %R - drive root of the current folder
            %% - insert a literal % character
    

      链接tab(注意这个不常用)

      链接有什么用?两个链接的标签,只要选中其中任何一个,另外一个也会被激活。在你需要在两个固定的文件夹之间,进行具体的操作的时候,很有用,能够减少你的操作。不用在源端选中一个,再去目的端选中另外一个(对于文件的操作,不会同步):

      链接的快捷操作:使用Control加,左键,点击,可以在两个tab之间建立链接(或者取消)

      tab导航锁定:使用Control加Shift,左键,点击,可以在两个tab之间建立导航锁定(或者取消)。作用:一边的显示内容变化,另一边同步进行变化。要求:在起步时候,两个tab的当前文件夹要一致(不要求路径相同,只要文件夹名字一样就行),否则不行(对于文件的操作,不会同步)。

      锁定tab:

      此时标签已经锁定,再次打开任何文件夹,都会直接打开一个新的tab。

      一个锁上带一个勾,表示锁定,但是允许文件夹改变。具体作用就是:你在这个tab下进行的文件夹切换,一旦你切换到其他tab(黄色tab),这个锁定的tab就会恢复到原来锁定的状态。

      一个锁上带一个左箭头,表示锁定。具体作用就是:打开任何文件夹,先在已有的tab中打开这个文件夹,如果没有其他的能用的tab,才会打开新的tab。

      锁定的快捷操作:1Shift; 2Ctrl; 3Ctrl+Shift;

       标签组:

      在标签栏上右键,选择标签组,可以保存标签组。之后可以使用标签组功能同时打开这个标签组中的所有tab。
      点击“保存”,保存的是当前活动的窗体列中的标签。点击“保存两者”,保存的是左右两边的标签。

      
      
      ◆4、View Modes 显示模式

      
      
      ◆5、Dual Display 双显示

      双显示,表示在一个程序的主窗体内,显示2个file displays (就是两列或者两行),

      关键概念:whenever a Lister is in dual-display mode, one display is always designated the source folder and the other is the destination.

      Navigation Lock 导航锁定。注意,Navigation表示导航,所以其他操作不支持:

      This mode is most useful when you have the same (or a similar) directory structure on two different drives (or on a local drive and an FTP site, for example).
      可以同时在不同路径下,对“同样”的文件夹进行导航,一直到两边的操作因为文件结构不一致,无法继续同步的时候。

      
      
      ◆6、Toolbars 工具栏

      The Default Toolbars 默认工具栏:
      “真实的”默认工具栏是一组四个工具栏,它们被硬编码到程序中。

      
      
      ◆7、Find-as-you-type Field 查找输入框
      Find-as-you-type field (FAYT) 是一个多用途文本输入框。

      ▶ Find: Type a part of a filename to jump to the first matching file in the current directory.
      ▶搜索文件。

      ▶ Command: Enter a command and run it immediately without having to set up a button. (Default key: greater-than >)
      ▶ 执行内部命令。使用符号:>

      ▶ DOS Command: Similar to command mode, but the command will run in a DOS window letting you view any text output. (Default key: question-mark ?)
      ▶ 执行DOS命令。使用符号:?

      下面是cmd的命令列表。在CMD中输入help可以打印。

    C:\Users>help
    有关某个命令的详细信息,请键入 HELP 命令名
    ASSOC          显示或修改文件扩展名关联。
    ATTRIB         显示或更改文件属性。
    BREAK          设置或清除扩展式 CTRL+C 检查。
    BCDEDIT        设置启动数据库中的属性以控制启动加载。
    CACLS          显示或修改文件的访问控制列表(ACL)。
    CALL           从另一个批处理程序调用这一个。
    CD             显示当前目录的名称或将其更改。
    CHCP           显示或设置活动代码页数。
    CHDIR          显示当前目录的名称或将其更改。
    CHKDSK         检查磁盘并显示状态报告。
    CHKNTFS        显示或修改启动时间磁盘检查。
    CLS            清除屏幕。
    CMD            打开另一个 Windows 命令解释程序窗口。
    COLOR          设置默认控制台前景和背景颜色。
    COMP           比较两个或两套文件的内容。
    COMPACT        显示或更改 NTFS 分区上文件的压缩。
    CONVERT        将 FAT 卷转换成 NTFS。你不能转换
                   当前驱动器。
    COPY           将至少一个文件复制到另一个位置。
    DATE           显示或设置日期。
    DEL            删除至少一个文件。
    DIR            显示一个目录中的文件和子目录。
    DISKPART       显示或配置磁盘分区属性。
    DOSKEY         编辑命令行、撤回 Windows 命令并
                   创建宏。
    DRIVERQUERY    显示当前设备驱动程序状态和属性。
    ECHO           显示消息,或将命令回显打开或关闭。
    ENDLOCAL       结束批文件中环境更改的本地化。
    ERASE          删除一个或多个文件。
    EXIT           退出 CMD.EXE 程序(命令解释程序)。
    FC             比较两个文件或两个文件集并显示
                   它们之间的不同。
    FIND           在一个或多个文件中搜索一个文本字符串。
    FINDSTR        在多个文件中搜索字符串。
    FOR            为一组文件中的每个文件运行一个指定的命令。
    FORMAT         格式化磁盘,以便用于 Windows。
    FSUTIL         显示或配置文件系统属性。
    FTYPE          显示或修改在文件扩展名关联中使用的文件
                   类型。
    GOTO           将 Windows 命令解释程序定向到批处理程序
                   中某个带标签的行。
    GPRESULT       显示计算机或用户的组策略信息。
    GRAFTABL       使 Windows 在图形模式下显示扩展
                   字符集。
    HELP           提供 Windows 命令的帮助信息。
    ICACLS         显示、修改、备份或还原文件和
                   目录的 ACL。
    IF             在批处理程序中执行有条件的处理操作。
    LABEL          创建、更改或删除磁盘的卷标。
    MD             创建一个目录。
    MKDIR          创建一个目录。
    MKLINK         创建符号链接和硬链接
    MODE           配置系统设备。
    MORE           逐屏显示输出。
    MOVE           将一个或多个文件从一个目录移动到另一个
                   目录。
    OPENFILES      显示远程用户为了文件共享而打开的文件。
    PATH           为可执行文件显示或设置搜索路径。
    PAUSE          暂停批处理文件的处理并显示消息。
    POPD           还原通过 PUSHD 保存的当前目录的上一个
                   值。
    PRINT          打印一个文本文件。
    PROMPT         更改 Windows 命令提示。
    PUSHD          保存当前目录,然后对其进行更改。
    RD             删除目录。
    RECOVER        从损坏的或有缺陷的磁盘中恢复可读信息。
    REM            记录批处理文件或 CONFIG.SYS 中的注释(批注)。
    REN            重命名文件。
    RENAME         重命名文件。
    REPLACE        替换文件。
    RMDIR          删除目录。
    ROBOCOPY       复制文件和目录树的高级实用工具
    SET            显示、设置或删除 Windows 环境变量。
    SETLOCAL       开始本地化批处理文件中的环境更改。
    SC             显示或配置服务(后台进程)。
    SCHTASKS       安排在一台计算机上运行命令和程序。
    SHIFT          调整批处理文件中可替换参数的位置。
    SHUTDOWN       允许通过本地或远程方式正确关闭计算机。
    SORT           对输入排序。
    START          启动单独的窗口以运行指定的程序或命令。
    SUBST          将路径与驱动器号关联。
    SYSTEMINFO     显示计算机的特定属性和配置。
    TASKLIST       显示包括服务在内的所有当前运行的任务。
    TASKKILL       中止或停止正在运行的进程或应用程序。
    TIME           显示或设置系统时间。
    TITLE          设置 CMD.EXE 会话的窗口标题。
    TREE           以图形方式显示驱动程序或路径的目录
                   结构。
    TYPE           显示文本文件的内容。
    VER            显示 Windows 的版本。
    VERIFY         告诉 Windows 是否进行验证,以确保文件
                   正确写入磁盘。
    VOL            显示磁盘卷标和序列号。
    XCOPY          复制文件和目录树。
    WMIC           在交互式命令 shell 中显示 WMI 信息。
    
    有关工具的详细信息,请参阅联机帮助中的命令行参考。
    

      ▶ WSL Command: Assuming the Windows Subsystem for Linux has been installed from the Windows Store, this mode lets you run a Linux command in a shell window. (Default key: vertical bar |).
      知识点:什么是WSL
      Windows Subsystem for Linux(简称WSL)是一个为在Windows 10上能够原生运行Linux二进制可执行文件(ELF格式)的兼容层。它是由微软与Canonical公司合作开发,目标是使纯正的Ubuntu 14.04 "Trusty Tahr"映像能下载和解压到用户的本地计算机,并且映像内的工具和实用工具能在此子系统上原生运行。

      ▶ Error: More a color than a real mode; if what you type is not recognised, the FAYT changes to a red background (by default) to indicate the problem.
      错误提示。一旦出入了Opus不能识别的内容,背景色会变成红色。

      ▶ Go: Type a folder path (e.g. C:\Windows) or folder alias (e.g. /home) into the FAYT to navigate to that location without having to activate the path field.

      ▶ Filter: Filter out files that don't match the specified pattern. (Disabled by default in favor of the separate Filter Bar.)
      此功能默认情况下禁用,以使用单独的过滤器栏。

      ▶ Range: When the Index column is displayed in the file display, this lets you select a range of files. (Default key: hash/pound #)
      范围选择。首先要打开索引显示:

      输入#1-3数字,数字,进行范围选择。

      ▶ Search: Trigger a Windows Search indexed search. (Default key: equals =)
      触发搜索。当输入=关键字的时候,可以触发搜索功能。

      ▶ Select: Select files by entering a wildcard pattern. (Default key: colon :)
      使用通配符进行选择。

      ▶ Tabs: Search and switch to open folder tabs by path or title. (Default key: at symbol @)
      搜索并定位到一个已经打开的tab上。

      ◆ 2、
      ◆ 3、

    相关文章

      网友评论

          本文标题:Directory Opus 学习使用1 2020-10-03

          本文链接:https://www.haomeiwen.com/subject/aytwuktx.html