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.
Lenovo IdeaPad 5i Slim 5 16IRL8 16" (512GB SSD, Intel Core i5-1335U, 1.30GHz,...
$422.10
Lenovo Workstation Gaming NVIDIA RTX 2080 W-2135 up to 128GB RAM 4TB SSD Win11P
$689.99
Notebook Lenovo Slim Pro 9 Laptop, 16" Glass, i9-13905H, GB, 1TB SSD
$1022.99
Lenovo IP 5 16IAU7 16" 2.5K Chromebook i3-1215U 8GB Ram 128GB eMMC Chrome OS
$219.99
Lenovo ThinkPad Yoga 11e 11.6" 2in1 Touch Intel Core i3 4GB RAM 128GB SSD Win10
$59.00
Lenovo ThinkPad X1 Nano 13" Touchscreen 2K i7-1180G7 16GB/256GB Win 10 Pro
$555.00
Lenovo Ideapad 1i 15.6" FHD Notebook Intel Core i5-1235U 8GB RAM 256GB SSD
$349.99
Lenovo ThinkPad 14" Laptop Computer Core i7 16GB RAM 256GB SSD Windows 10 Pro
$229.99
Lenovo K14 AMD Laptop, 14" FHD IPS LED , Ryzen 5 5600U, GB, 256GB SSD
$569.00