![]() To rename a file, you need to specify a single file as a source and a single file as a destination target.įor example, to rename the file file1.txt as file2.txt you would run: mv file1.txt file2.txt Renaming multiple files with the mv Command #.If you specify a single file as source, and the destination target is an existing directory, then the file is moved to the specified directory.In this case, the source files are moved to the target directory. If you specify multiple files as source, the destination must be a directory. ![]() The source can be one or more files, or directories and destination can be a single file or directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |