F5F Stay Refreshed Software Operating Systems .SH script problems

.SH script problems

.SH script problems

A
Alexis141
Member
109
02-19-2026, 08:59 PM
#1
Hi everyone - I need to adjust my script so it only archives the Minecraft world folder. The current backup creates a full directory tree, including unrelated folders like /home and /TheGermanEngie/. To fix this, modify the command to target just the /minecraftworld/ directory. Make sure the path in the zip command points directly to that folder. Also verify the SCP transfer uses the correct destination path. This way, only the world files will be compressed without the extra subdirectories.
A
Alexis141
02-19-2026, 08:59 PM #1

Hi everyone - I need to adjust my script so it only archives the Minecraft world folder. The current backup creates a full directory tree, including unrelated folders like /home and /TheGermanEngie/. To fix this, modify the command to target just the /minecraftworld/ directory. Make sure the path in the zip command points directly to that folder. Also verify the SCP transfer uses the correct destination path. This way, only the world files will be compressed without the extra subdirectories.

S
seb942
Junior Member
30
02-20-2026, 07:36 PM
#2
The issue is clear and needs immediate attention.
S
seb942
02-20-2026, 07:36 PM #2

The issue is clear and needs immediate attention.

E
emil7777
Junior Member
44
02-21-2026, 12:35 AM
#3
The intended action is to duplicate only /minecraftworld/ while preserving its structure.
E
emil7777
02-21-2026, 12:35 AM #3

The intended action is to duplicate only /minecraftworld/ while preserving its structure.

M
Mexican_Style
Junior Member
47
02-21-2026, 07:20 AM
#4
https://linux.die.net/man/1/zip