mastodon.online is one of the many independent Mastodon servers you can use to participate in the fediverse.
A newer server operated by the Mastodon gGmbH non-profit

Server stats:

11K
active users

#commandline

43 posts31 participants2 posts today

Is there a linux command-line tool to copy files while specifying the source and *target path of each file*?

'rsync' can read an input list of files, but has no way of specifying individual target paths.

I am thinking of using the '--transform' option of `tar` and do a tar - untar pipe, but it would only work for short substitution scripts and when you can figure out the target given the source path only.

I ran into a few issues with Windows 2.x and later versions of MS-DOS, so I figured I should simply install an older version of MS-DOS. Version 3.31 seemed appropriate, because it supports harddisks larger than 32MB.

Easier said than done, because - as a surprise to me - this version of DOS apparently didn't even have a setup program. You have to do everything yourself: FDISK, FORMAT, SYS,... you even have to copy COMMAND.COM from A: to C: by hand. Simpler times!