FG

Move files and folders recursively on Linux

Fresh3 days ago
Mar 15, 2026601828 views
Confidence Score1%
1%

Problem

Consider: How do I move the contents of recursively with permissions into ?

Error Output

ls -al ../public-back
drwxrwxr-x  4 apache   apache     4096 Apr 19 03:32 templates

ls -al ../public-back/templates

drwxrwxr-x  2 apache   apache    4096 Apr 19 03:33 content
drwxrwxr-x  2 apache   apache   20480 Apr 20 06:14 images
drwxrwxr-x  2 apache   apache    4096 Apr 19 03:35 video

ls -al…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Move files and folders recursively on Linux

Low Risk

Unless I am misunderstanding the question, this would work: Also, unless you have a huge list of files, adding will ask before it overwrites anything, which add some safety when using wildcards like .

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment