Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- refresh 2
- local tmpFolder = "/tmp/disk/"
- function cpDisk()
- root = shell.dir()
- print(root)
- fs.delete(tmpFolder)
- fs.copy(root,tmpFolder)
- end
- shell.run("mnt")
- cpDisk()
- shell.run("umnt")
- print("Please do NOT edit this folder directly, it will be deleted on next run")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement