diff options
| author | Inqiyad Sabr <sabr@ariamath.xyz> | 2025-11-03 13:27:53 +0600 |
|---|---|---|
| committer | Inqiyad Sabr <sabr@ariamath.xyz> | 2025-11-03 13:27:53 +0600 |
| commit | b98bd42588017d1d8f81c66a292892d48a07a976 (patch) | |
| tree | fb922e0116c32d13a51cab6cd5d7249536fb25f9 | |
| parent | 5002e31f9292886e5750d894d6d3f4a1391bdc45 (diff) | |
Changed cp to rsync
| -rwxr-xr-x | c2x | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,6 +1,5 @@ #!/bin/sh -[ -s ./"$1_xhtml" ] && rm -rf "./${1}_xhtml" -cp -r ./"${1}" ./"${1}_xhtml" +rsync -avz ./"${1}" ./"${1}_xhtml" cd ./"${1}_xhtml" || exit for file in $(find ./* | grep ".gmi" | sed 's/.gmi//'); do g2x < "./${file}.gmi" > "./${file}.html" |