How to manage files using xplr

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • xclip.xplr

    xclip based copy-paste integration for xplr

  • This operation tends to confuse some people coming from vim or some other terminal file manager, as there's no explicit "copy" or "yank". Once you select files and directories by pressing the space bar or v, you can go to the target path and paste or move the selected files by typing : s c or : s m. However, if it's too unintuitive for you, you can of-course configure it to behave as you want to. Also, there are plugins like xclip.xplr, wl-clipboard.xplr that utilizes the system clipboard to provide a more intuitive copy-paste experience. Additionally, if you hate that you have to do a lot of navigation for copy-pasting, checkout dual-pane.xplr or context-switch.xplr. With these plugins, you can easily switch between the source and target directories while copying or moving files.

  • wl-clipboard.xplr

    Copy and paste with system clipboard using wl-clipboard

  • This operation tends to confuse some people coming from vim or some other terminal file manager, as there's no explicit "copy" or "yank". Once you select files and directories by pressing the space bar or v, you can go to the target path and paste or move the selected files by typing : s c or : s m. However, if it's too unintuitive for you, you can of-course configure it to behave as you want to. Also, there are plugins like xclip.xplr, wl-clipboard.xplr that utilizes the system clipboard to provide a more intuitive copy-paste experience. Additionally, if you hate that you have to do a lot of navigation for copy-pasting, checkout dual-pane.xplr or context-switch.xplr. With these plugins, you can easily switch between the source and target directories while copying or moving files.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • dual-pane.xplr

    Implements support for dual-pane navigation into xplr

  • This operation tends to confuse some people coming from vim or some other terminal file manager, as there's no explicit "copy" or "yank". Once you select files and directories by pressing the space bar or v, you can go to the target path and paste or move the selected files by typing : s c or : s m. However, if it's too unintuitive for you, you can of-course configure it to behave as you want to. Also, there are plugins like xclip.xplr, wl-clipboard.xplr that utilizes the system clipboard to provide a more intuitive copy-paste experience. Additionally, if you hate that you have to do a lot of navigation for copy-pasting, checkout dual-pane.xplr or context-switch.xplr. With these plugins, you can easily switch between the source and target directories while copying or moving files.

  • xplr

    A hackable, minimal, fast TUI file explorer

  • xplr takes pride in being an awesome file explorer, but it also lets us perform file management operations by utilizing the existing command-line tools that are designed to do one thing, and do it best. For example,

  • context-switch.xplr

    Context switch for xplr

  • This operation tends to confuse some people coming from vim or some other terminal file manager, as there's no explicit "copy" or "yank". Once you select files and directories by pressing the space bar or v, you can go to the target path and paste or move the selected files by typing : s c or : s m. However, if it's too unintuitive for you, you can of-course configure it to behave as you want to. Also, there are plugins like xclip.xplr, wl-clipboard.xplr that utilizes the system clipboard to provide a more intuitive copy-paste experience. Additionally, if you hate that you have to do a lot of navigation for copy-pasting, checkout dual-pane.xplr or context-switch.xplr. With these plugins, you can easily switch between the source and target directories while copying or moving files.

  • moreutils

    moreutils is a growing collection of the unix tools that nobody thought to write long ago when unix was young. Read-only version of `git://git.joeyh.name/moreutils`

  • Press r to rename and ctrl-d to duplicate the path under focus. By default, xplr uses mv to rename and cp to duplicate files. To rename or duplicate multiple paths at-once, you will need to select the paths and invoke the shell by typing : ! and run a custom command on the paths listed in the $XPLR_PIPE_SELECTION_OUT file. Or you can use tools like vidir or pipe-rename. See the batch rename hack.

  • pipe-rename

    Rename your files using your favorite text editor

  • Press r to rename and ctrl-d to duplicate the path under focus. By default, xplr uses mv to rename and cp to duplicate files. To rename or duplicate multiple paths at-once, you will need to select the paths and invoke the shell by typing : ! and run a custom command on the paths listed in the $XPLR_PIPE_SELECTION_OUT file. Or you can use tools like vidir or pipe-rename. See the batch rename hack.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • trash-cli.xplr

    trach-cli integration for xplr

  • By default, xplr only supports deleting paths using rm by (selecting and) typing d d. But you can configure it to use the system trash or a custom trash bin. Or maybe, just use the trash-cli.xplr plugin.

  • map.xplr

    Visually inspect and interactively execute batch commands using xplr

  • As you probably already know by now, you can perform any custom operation on the files visible in the table - $XPLR_PIPE_DIRECTORY_NODES_OUT, or the path under focus - $XPLR_FOCUS_PATH or the selected paths - $XPLR_PIPE_SELECTION_OUT etc. just by invoking the xplr shell by typing : !. Alternatively, you may want to explore plugins like map.xplr which lets you create and run custom commands interactively, even on multiple files at-once.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts