FG

How can I use cp to copy a directory but ignore a certain sub directory in Linux

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

Problem

Due to a Hard disk problem I am trying to shift a partition from one hard disk to another. I am following http://www.ibm.com/developerworks/library/l-partplan.html article to do that. In the copying part I would like to ignore one particular sub directory. How can I accomplish that keeping in mind …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I use cp to copy a directory but ignore a certain sub directory in Linux

Low Risk

You might want (or not) to use as well. Check the manual page.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment