Uruchomienie, wykonanie: mv [option] sources target
Jak działa MV, co robi MV: Move or rename files and directories. The source (first column) and target (second column) determine the result (third column):
Source
Target
Result
File
name (nonexistent)
Rename file to name.
File
Existing file
Overwrite existing file with source file.
Directory
name (nonexistent)
Rename directory to name.
Directory
Existing directory
Move directory to be a subdirectory of existing directory.
One or more files
Existing directory
Move files to directory.
The mv command is often aliased as mv -i in the
Dostępne opcje, wywołanie MV: Back up files before removing. Like -b, but can take an argument specifying the type of version-control file to use for the backup. The value of type overrides the VERSION_CONTROL environment variable, which determines the type of backups made. The acceptable values for version control are: Always make numbered backups. Make numbered backups of files that already have them, and make simple backups of the others. This is the default. Always make simple backups. Never make backups. Force the move, even if target file exists; suppress messages about restricted access modes. Same as --reply=yes. Print a help message and then exit. Query user before removing files. Same as --reply=query. Specify how to handle prompt if the destination exists already. Possible values are yes, no, and query. Remove trailing slashes from source paths. Override the SIMPLE_BACKUP_SUFFIX environment variable, which determines the suffix used for making simple backup files. If the suffix is not set either way, the default is a tilde (~). Move all source files and directories into the specified directory. Do not remove a file or link if its modification date is the same as or newer than that of its replacement. Print the name of each file before moving it. Print version information and then exit.
- Co znaczy :
- Definicja Delete an MS-DOS directory. The directory should be empty. To delete a full directory and its contents, use mdeltree . See rmdir and mtools for more information co znaczy.
- Co znaczy :
- Definicja temporary filename for use in a script. The filename is based on the specified template, which may be any filename with at least six Xs appended (e.g., /tmp/mytemp.XXXXXX ). mktemp replaces the Xs krzyżówka.
- Co znaczy :
- Definicja NFS mount request server. mountd reads the file /etc/exports to determine which filesystems are available for mounting by which machines. It also provides information about which filesystems are co to jest.
- Co znaczy :
- Definicja in clusters, for a directory and its subdirectories and files on an MS-DOS filesystem. See du and mtools for more information, and see minfo for the cluster size. Only one of -a or -s can be słownik.
- Co znaczy :
- Definicja determine path to manual pages . Check $MANPATH first; if that is not set, consult /etc/man.conf , user environment variables, and the current working directory. The manpath command is a czym jest.
Użycie MV zastosowanie komendy na linii poleceńw Słownik M .