Advertisement
SkyCrafter0

(cc)advFsLibrary

Jul 18th, 2019
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. local advFs = {}
  2. --Ultime Studios AdvFs Library
  3. --Includes: Copy(v1), Delete(v1)
  4. function advFs.Copy(source, target)
  5.   shell.run("cp", source, target)
  6. end
  7.  
  8. function advFs.Delete(path)
  9.   shell.run("rm", path)
  10. end
  11.  
  12. return advFs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement