Archive each file seperate problem

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
RabisH
Junior Member
Junior Member
Posts: 4
Joined: 2004-09-04, 08:56 UTC

Archive each file seperate problem

Post by *RabisH »

What i need to do and what results i need:

1. I'm slecting some directories and files.
2. I want to archive all selected files, and files in directories/subdirectories. I don't want to archive directories and subdirectories, just files in them. Also when archive i want move those files to archive.

How can i get this functionality? It nearly what i need is options in pack dialog, but it archive selected directories in seperate archive when i want directories remane and archive just files in them.

Maybe i explained not clear. Try to imagine directory tree with some files in them. I need a command after witch all fails became archieved in the same directorie tree. I want to use this functionality to effetivly store files in ftp so that each file can be downloaded seperate.

Maybe there is plugin for this?
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Post by *Clo »

2RabisH
:) Hello !
-Display all files in the wanted tree-part using the Branch-View: Commands menu or Ctrl+B

:mrgreen: Kind regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
RabisH
Junior Member
Junior Member
Posts: 4
Joined: 2004-09-04, 08:56 UTC

Post by *RabisH »

Sorry can't understand how this can help me :(

All files then will be archived in one directory (the one in other window). I need to remane directory structure.
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

2Rabish :

1) As Clo said, go into the directory that contains your "directory and subdirectory"

2) Ctrl+B -> you will view all files

3) Select the files you want to pack

4) Open the pack dialog,
41) Uncheck "also pack path name"
42) Uncheck "Recursively..."
43) Check "Create separate archives, one per file"

5) Press Ok

6) In the opposite panel you will have as many archives as you have selected file containing only the wanted file and not the directory structure...

7) All done....Hope this help :)
TC#88260 -
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Re: Archive each file seperate problem

Post by *Sheepdog »

RabisH wrote:What i need to do and what results i need:

1. I'm slecting some directories and files.
2. I want to archive all selected files, and files in directories/subdirectories. I don't want to archive directories and subdirectories, just files in them. Also when archive i want move those files to archive.
Use the external ARJ-packer
Select all files you want to archive
Press [alt]+[F5]
Add to the command line in pack dialog box the switch '-e'
It should look like

Code: Select all

arj:"E:\Dokumente & Dateien\Download\isonbuster\007.ARJ" -e
Press [enter]

the '-e' switch for arj excludes all paths from archive.

I think that is what you desired.

sheepdog[/img]
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
RabisH
Junior Member
Junior Member
Posts: 4
Joined: 2004-09-04, 08:56 UTC

Post by *RabisH »

:((

one more time, i have:

..
Directory1\a.dll
b.dll

after archive command i want to have:

..
Directory1\a.zip (or RAR or what ever)
b.zip (or RAR or what ever)


if i use Ctrl+b and select a.dll and b.dll then slect Create seperate archives, i'v got:

..
a.zip
b.zip

not

..
Directory1\a.zip (or RAR or what ever)
b.zip (or RAR or what ever)

but i need so :(
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

Ok...

After you have selected "create one archive per file"

you have to modify the command line :

from "zip:X:/*.*.zip" to "zip:*.*.zip"

this works for me....you will have the desired result
(My test : dir 1\dir2\a.dll ;dir 1\b.dll; after packing:dir 1\dir2\a.dll dir 1\dir2\a.zip;dir 1\b.dll dir 1\b.zip)

After that you can use "again" Ctrl+B and show only the zip file (to be uploaded...)
TC#88260 -
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

White or black?

Post by *Clo »

2RabisH
All files then will be archived in one directory (the one in other window). I need to remane(remain? keep?) directory structure.
- Sorry, but you said the opposite in your first post :
2. I want to archive all selected files, and files in directories/subdirectories. I don't want to archive directories and subdirectories, just files in them.
:P Is it white, or is it black ?
:mrgreen: Regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
RabisH
Junior Member
Junior Member
Posts: 4
Joined: 2004-09-04, 08:56 UTC

Post by *RabisH »

frank2844 thank's it worked :)

Clo sorry for my english did you tried this, from my first post:

Maybe i explained not clear. Try to imagine directory tree with some files in them. I need a command after witch all fails became archieved in the same directorie tree. I want to use this functionality to effetivly store files in ftp so that each file can be downloaded seperate.

:)
Post Reply