This is not Knoppix-specific at all? What about trying sites like linuxquestions.org?
Tip: Check out rsync whenever you feel you approach the capabilities of cp.
I cannot find (and don't know whether there is) a Forum specific to command-line syntax questions, so I'll post it here. Please put me right if I want to go elsewhere (and I apologise for wasting your time). Here is the question. Thank you!
I can use
cp -vr --parents /a/b/c/d /x/y
to create a directory /x/y/a/b/c/d containing everything at d and everything under d.
But how could I create a directory x/y/b/c/d (ie omitting a)? I could MOVE to /a/ and then use
cp -vr --parents b/c/d /x/y
but I really don't want to do the MOVE (and can think of circumstances where I might not be able to).
I'm really looking for something exactly similar to the
tar -C DIRNAME
switch that allows one to make a virtual move to the directory DIRNAME before commencing the tar operation.
Thank you!
Fergus
PS Again, sorry - if there is a Forum under Knoppix.NET (or for that matter elsewhere) specific to questions about command-line syntax, please point me to it ...
This is not Knoppix-specific at all? What about trying sites like linuxquestions.org?
Tip: Check out rsync whenever you feel you approach the capabilities of cp.
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
Seagate 10TB 7200RPM 12Gbps 3.5in SAS Hard Drive ST10000NM096
$79.99
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$69.99
Seagate BarraCuda ST1000LM048 1 TB Hard Drive - 2.5" Internal - SATA (SATA-600)
$98.97
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$79.99
Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$93.88
Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive
$99.99
SEAGATE ST4000NM0023 HARD DRIVE 3.5" SAS 4TB HDD
$16.99
8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002
$36.94
Western Digital WD10JUCT 1TB 2.5" SATA 3Gb/s 5400 RPM 16MB Laptop Hard Drive
$17.98