it's just not implemented:
|
function moveAcrossDevice (src, dest, overwrite) { |
|
const opts = { |
|
overwrite, |
|
errorOnExist: true |
|
} |
|
copySync(src, dest, opts) |
so if you move something from one device to another then you'll lose timestamps (even with preserveTimestamps option).
versions
- Operating System: macos 10.15.7
- Node.js version: 14.19.2
fs-extra version: 11.1.0
it's just not implemented:
node-fs-extra/lib/move/move-sync.js
Lines 45 to 50 in f3a7f0b
so if you
movesomething from one device to another then you'll lose timestamps (even withpreserveTimestampsoption).versions
fs-extraversion: 11.1.0