FG

Copying contents of current directory to a subdirectory

Fresh3 days ago
Mar 15, 202652659 views
Confidence Score0%
0%

Problem

How can I use the Linux terminal to copy everything in current directory to a subdirectory?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Copying contents of current directory to a subdirectory

Low Risk

If you want to copy the contents of the folder recursively (will throw 1 error, alternatives below): A little more hacky, but works on non-empty subdirectories: Another oneliner: Or recursive:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment