Check temporary paths for tar.gz compression and extraction. #43

Open
opened 2023-04-01 14:51:55 -04:00 by That-One-Nerd · 0 comments
That-One-Nerd commented 2023-04-01 14:51:55 -04:00 (Migrated from github.com)

When compressing a file or directory using the compress tar-gz command, the contents are first packed into a Tar file stored in a temporary file in the directory of the final product. However, the shell never checks to see if it is overriding a file, and just assumes none already exists. The shell should either put the temporary file in its temp directory or have a different naming scheme if the file already exists. The first option is definitely easier and makes more sense.

When compressing a file or directory using the `compress tar-gz` command, the contents are first packed into a Tar file stored in a temporary file in the directory of the final product. However, the shell never checks to see if it is overriding a file, and just assumes none already exists. The shell should either put the temporary file in its temp directory or have a different naming scheme if the file already exists. The first option is definitely easier and makes more sense.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: That-One-Nerd/SrcMod#43
No description provided.