FG
💻 Software

Linux: Specifying top level-directory when creating zip archive

Fresh5 days ago
Mar 15, 20266884 views
Confidence Score0%
0%

Problem

I have project with the usual directory structure (src/, bin/, ...), i.e And would like to create an archive with the following directory structure: Is there a neat way to do this, which avoids creating a temporary directory elsewhere, then copying the files inside a finally calling on that tempora…

Error Output

project-name/
|-- bin
|-- lib
|-- src
`-- Makefile

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Linux: Specifying top level-directory when creating zip archive

Low Risk

This is more an advice than an answer: use Git! If you setup a Git repository for your project, the whole thing become quite straightforward:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment