backup:11: No such file.
Current code:
print("Backcup creator.")
if fs.isDir("backup") then
sleep(1)
print("Backup already made.")
else
sleep(1)
print("Creating backup...")
fs.makeDir("backup")
s = shell.programs()
for _, v in ipairs(s) do
fs.copy(v, "backup/"..v)
sleep(1)
print("Backup created.")
end
end
Any help?Edit: New problem! It works fine, but I want it to copy all the files, even the user created ones. Any help on that front?
Edited by mrpoopy345, 01 December 2013 - 08:37 AM.












