Languages
[Edit]
EN

Bash - move directory recursively

0 points
Created by:
Zeeshan-Peel
430

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

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