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.
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$79.99
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$96.01
Asus Prime H310M-A R2.0 Intel LGA1151 DDR4 Desktop Motherboard I/O Shield READ
$52.95
ASUS B85M-G R2.0 HDMI LGA1150 DDR3 mATX Desktop Motherboard USB 3.0 w/ I/O
$39.99
Gigabyte Ultra Durable B550 GAMING X V2 Desktop Motherboard
$87.99
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$47.56
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$80.71
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$84.96