mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-09 12:42:39 +01:00
Update ECSAPI.lua
This commit is contained in:
parent
5329cad578
commit
ecece93da2
@ -1696,7 +1696,7 @@ end
|
||||
function ECSAPI.duplicateFileSystem(fromAddress, toAddress)
|
||||
local source, destination = ECSAPI.findMount(fromAddress), ECSAPI.findMount(toAddress)
|
||||
ECSAPI.info("auto", "auto", "", "Copying file system...")
|
||||
shell.execute("bin/cp -rxu "..source.." "..destination)
|
||||
shell.execute("bin/cp -rx "..source.."* "..destination)
|
||||
end
|
||||
|
||||
-- Копирование папки через рекурсию, т.к. fs.copy() не поддерживает папки
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user