<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="DejaVu Sans Mono"><font size="4">Hello.<br>
<br>
For a Gambas project I need (obviously) a special variant of the
cp command in a bash script.<br>
<br>
The batch file cpwp2wo.sh is necessary to copy the folder with
the generated website - described with HTML+CSS+GAMBAS (WebPage)
- into the folder where the web server looks for websites. In
addition, the bash script takes care of the correct ownership of
folders and files, because the web server runs under the rights
of the web user www-data as well as the appropriate rights. But
that is secondary here.<br>
<br>
In a folder ws_sample there are the three folders a, b and c as
well as the batch file cpwp2wo.sh. Only all three folders are to
be copied to $HOME/public_html/cgi-bin - without the file
cpwp2wo.sh. I am currently copying with this command. The batch
file is also copied.<br>
<br>
cp -r -u -v $HOME/WS/ws_sample/ $HOME/public_html/cgi-bin/<br>
<br>
Any hint will be gladly read.<br>
<br>
With kind regards<br>
<br>
Hans</font></font><font face="DejaVu Sans Mono"><font size="4"><br>
</font></font><font face="DejaVu Sans Mono"> </font>
</body>
</html>