HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

exch — Swap the filepaths and filenames of two files. More information: <https://manned.org/exch>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thefilepathscommandswapexchfilenamesandcli
linux

Problem

How to use the exch command: Swap the filepaths and filenames of two files. More information: <https://manned.org/exch>.

Solution

exch — Swap the filepaths and filenames of two files. More information: <https://manned.org/exch>.

Swap filepaths:
exch {{path/to/file1}} {{path/to/file2}}

Code Snippets

Swap filepaths

exch {{path/to/file1}} {{path/to/file2}}

Context

tldr-pages: linux/exch

Revisions (0)

No revisions yet.