Languages
[Edit]
EN

Bash - move directory recursively

0 points
Created by:
Zeeshan-Peel
730

This article will show you how to move a directory to a new location in Bash.

Syntax

mv source target

Note: the source can be a directory or a file

 

Practical example 

#!/bin/bash

mv ./Folder ./DestinationFolder

Before:

Before move operation

After:

After move operation
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

Bash

Bash - move directory recursively
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join