Hi -
I would like to package files individually while keeping their folder structure. For example, given the source
foo/file1.txt
foo/file2.txt
foo/bar/file3.txt
baz/file4.txt
I would select the folders 'foo' and 'baz', and have the packer to recreate the directory structure and compress the files, leaving me with
foo/file1.zip
foo/file2.zip
foo/bar/file3.zip
baz/file4.zip
Is there a quick way of doing this with the packer? Ive tried 'create separate archives, one per selected file/dir', but that gives
foo.zip
baz.zip
Thanks!
Packing files individually into directory structure
Moderators: white, Hacker, petermad, Stefan2
Re: Packing files individually into directory structure
To use the packer, the best way is to get the list of files and then zip once all selected.zorg wrote:Hi -
I would like to package files individually while keeping their folder structure. For example, given the source
foo/file1.txt
foo/file2.txt
foo/bar/file3.txt
baz/file4.txt
I would select the folders 'foo' and 'baz', and have the packer to recreate the directory structure and compress the files, leaving me with
foo/file1.zip
foo/file2.zip
foo/bar/file3.zip
baz/file4.zip
Is there a quick way of doing this with the packer? Ive tried 'create separate archives, one per selected file/dir', but that gives
foo.zip
baz.zip
Thanks!
- - Select folders A, B, ....
- Search in selected file/folder only, recursive.
- Feed to listbox
- Select All
- Call packer only check "create separate archives,...." and set target as zip:*.zip
Re: Packing files individually into directory structure
Thanks for the suggestion, but it didn't seem to work. When I tried it, all of the compressed files were saved into a single directory, and the original directory structure wasn't recreated.nsp wrote: To use the packer, the best way is to get the list of files and then zip once all selected.This should do it !
- - Select folders A, B, ....
- Search in selected file/folder only, recursive.
- Feed to listbox
- Select All
- Call packer only check "create separate archives,...." and set target as zip:*.zip
Re: Packing files individually into directory structure
Nothing as to be recreated as you zip in place. The target must be exactly zip:*.zip or zip:*.*.zip, by default zip target is defined in the "target Folder" like zip:X:\target\folder\*.*.zipzorg wrote:Thanks for the suggestion, but it didn't seem to work. When I tried it, all of the compressed files were saved into a single directory, and the original directory structure wasn't recreated.nsp wrote: To use the packer, the best way is to get the list of files and then zip once all selected.This should do it !
- - Select folders A, B, ....
- Search in selected file/folder only, recursive.
- Feed to listbox
- Select All
- Call packer only check "create separate archives,...." and set target as zip:*.zip
-
- New Member
- Posts: 1
- Joined: 2017-07-13, 06:51 UTC
- Location: eqwe