Append strings to positional parameters in shell scripts using parameter expansion to construct dynamic file paths for commands like rsync.