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.
Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux
$836.80
Watchguard XCS 570 Firewall SuperMicro 1U Server Intel 4GB VPN Router LINUX 🍁
$182.65
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM
$382.00
Domino Lotus Server 5.0.7 for OS/2 WSeB, RH Linux 6, Solaris, AIX, HP-UX, Win NT
$60.00
Red Hat Enterprise Linux 5 Server - New and Sealed
$16.99
2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD
$30.00
IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8
$449.96
SQL Server 2019 Standard (10 CAL) - Windows and Linux, Physical License
$249.00
Australia - Win/Linux Server- 2GB RAM, 1 Core,100 GB HD, Ultd Bandwidth 2 yrs
$195.80