[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
command for swapping of two files or two dirs?
From: |
Peng Yu |
Subject: |
command for swapping of two files or two dirs? |
Date: |
Fri, 26 Mar 2021 12:11:00 -0500 |
Hi,
I can use mv to program a swap bash script. Or use renameat2(...,
RENAME_EXCHANGE) on Linux and renameatx_np(..., RENAME_SWAP) on Darwin
to make a swap C program.
But since this should be a commonly used function, is there already an
existing well-maintained command for this purpose?
--
Regards,
Peng
- command for swapping of two files or two dirs?,
Peng Yu <=
- Re: command for swapping of two files or two dirs?, Alex fxmbsw7 Ratchev, 2021/03/26
- Re: command for swapping of two files or two dirs?, Alex fxmbsw7 Ratchev, 2021/03/26
- Re: command for swapping of two files or two dirs?, Greg Wooledge, 2021/03/26
- Re: command for swapping of two files or two dirs?, Alex fxmbsw7 Ratchev, 2021/03/26
- Re: command for swapping of two files or two dirs?, Peng Yu, 2021/03/26
- Re: command for swapping of two files or two dirs?, Alex fxmbsw7 Ratchev, 2021/03/26
- Re: command for swapping of two files or two dirs?, Eli Schwartz, 2021/03/26
- Re: command for swapping of two files or two dirs?, Alex fxmbsw7 Ratchev, 2021/03/26
- Re: command for swapping of two files or two dirs?, Reuti, 2021/03/26