Files
freeCodeCamp/guide/russian/bash/bash-mv/index.md
2018-10-16 21:32:40 +05:30

22 lines
800 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Bash mv
localeTitle: Bash mv
---
## Команда Bash: mv
**Перемещает файлы и папки.**
```
mv source target
mv source ... directory
```
Первый аргумент - это файл, который вы хотите переместить, а второй - местоположение для его перемещения.
Обычно используемые опции:
* `-f` чтобы заставить их перемещать и перезаписывать файлы без проверки с пользователем.
* `-i` запросить подтверждение перед перезаписью файлов.
### Дополнительная информация:
* [Википедия](https://en.wikipedia.org/wiki/Mv)