mv.html 947 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <html>
  2. <head>
  3. <title>mv</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>mv</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. mv - rename or move files
  9. <h3>Synopsis</h3>
  10. /bin/mv <em>oldname</em> <em>newname</em>
  11. <h3>Description</h3>
  12. mv renames the filesystem object specified by <em>oldname</em> so that
  13. it is subsequently named <em>newname</em>. Both files and directories
  14. can be renamed or moved into other parts of the filesystem tree.
  15. However, devices may not be renamed and filesystem objects may not be
  16. moved across filesystems.
  17. <p>
  18. mv accepts no options.
  19. <h3>Requirements</h3>
  20. mv uses the following system calls:
  21. <ul>
  22. <li> <A HREF=../syscall/rename.html>rename</A>
  23. <li> <A HREF=../syscall/write.html>write</A>
  24. <li> <A HREF=../syscall/_exit.html>_exit</A>
  25. </ul>
  26. mv should function properly once the file system assignment is
  27. completed.
  28. <h3>See Also</h3>
  29. <A HREF=cp.html>cp</A>, <A HREF=ln.html>ln<A>
  30. </body>
  31. </html>