mv, (move sözcüğünün kısaltması) bir ya da daha fazla dosya ya da dizinin yerini değiştirmek için kullanılan bir Unix komutudur. Önceki dosya silinir ve yeni dosya eski veya yeni bir adla yaratılır. Komutu kullanırken yazma izinlerine dikkat edilmelidir.
Örnek kullanım [değiştir]
mv myfile mynewfilename dosyayı yeniden adlandırır
mv myfile otherfilename renames a file and deletes the existing file "myfile"
mv myfile /myfile moves 'myfile' from the current directory to the root directory
mv myfile dir/myfile moves 'myfile' to 'dir/myfile' relative to the current directory
mv myfile dir same as the previous command (the filename is implied to be the same)
mv myfile dir/myfile2 moves 'myfile' to dir and renames it to 'myfile2'
mv foo bar baz dir 3 dosyayı dir dizininin içine taşır
mv --help shows a very concise help about the syntax of the command
man mv prints an extensive user manual for 'mv' in the terminal
|
Unix komut satırı programları |
|
| Dosya dizgesi |
|
|
| Prosesler |
|
|
| Kullanıcı ortamı |
|
|
| Metin işleme |
|
|
| Kabuk programlama |
|
|
| Ağ |
|
|
| Arama |
|
|
| Diğer |
|
|