GNU Info

Info Node: (librep.info)Manipulating Files

(librep.info)Manipulating Files


Next: Manipulating Directories Prev: File Information Up: Files
Enter node , (file) or (file)node

Manipulating Files
------------------

 - Command: delete-file file-name
     This function deletes the file called FILE-NAME. When called
     interactively FILE-NAME is prompted for.

 - Command: rename-file file-name new-name
     This function attempts to change the name of the file NEW-NAME to
     NEW-NAME.

     This won't work from one file system to another or if a file called
     NEW-NAME already exists, in these cases an error is signalled.

     This prompts for its arguments when called interactively.

 - Command: copy-file file-name destination-name
     Creates a new copy of the file FILE-NAME with the name
     DESTINATION-NAME.

     The access modes of the new file will be the same as those of the
     original file.

     The arguments are prompted for when this function is called
     interactively.


automatically generated by info2www version 1.2.2.9