LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   Command to combine several files as a single file, etc. (https://www.linuxquestions.org/questions/%2Absd-17/command-to-combine-several-files-as-a-single-file-etc-191760/)

satimis 06-09-2004 11:33 PM

Command to combine several files as a single file, etc.
 
Hi folks,

Frequently I save/print doucument from Website as

.html
.pdf
.ps
etc.

files. If the document consists of several pages then there will be serveral files. What command line/lines shall I use to combine file of several pages as a single file (not with 'echo' command). Or which application on KDE desktop shall I use to achieve this goal. After a single file created, how can I move pages around inside the file (not with copy/paste command).

Additional how to add 'note' to the file/page or bookmark a paragraph inside the file.

On the old day when I ran Windows, I used 'PaperPort', 'PageKeeper','Omnipage, etc. to do the abovementioned job. Are there similar applications on Open Source for FreeBSD/Unix/Linux worlds.

TIA.

B.R.
satimis

pcardout 06-10-2004 12:43 AM

Combining files
 
You want gzip or tar. Create a "tarball".

tar -cf archive.tar foo bar # Create archive.tar from files foo and bar.

tar -tvf archive.tar # List all files in archive.tar verbosely.
tar -xf archive.tar # Extract all files from archive.tar.

I hope you know the "man" command by now. Do man tar to
see all the stuff it does.

satimis 06-10-2004 03:03 AM

Re: Combining files
 
Hi pcardout,

FreeBSD 5.2

Tks for your advice.

Sorry, maybe I have not explained clear in my first posting. I repeat it with following examples

1) Saving documents from website as following files

Page-1.pdf
Page-2.pdf
Page-3.pdf
Page-4.pdf
and so on

- how to combine all of them as a SINGLE file in the order of page number still in .pdf format.
- how to rearrange them in the SINGLE changing postition of Page-4 to Page-1 etc.

2) If printing documents from website as following files

Page-1.ps
Page-2.ps
Page-3.ps
Page-4.ps
and so on

- how to combine all of them as a SINGLE file in the order of page number still in .ps format.
- how to rearrange them in the SINGLE changing postition of Page-4 to Page-1 etc.

3) If saving documents from website as following files

Page-1.html
Page-2.html
Page-3.html
Page-4.html
and so on

- how to combine all of them as a SINGLE file in the order of page number still in .html format.
- how to rearrange them in the SINGLE changing postition of Page-4 to Page-1 etc.

TIA

B.R.
satimis

elluva 06-10-2004 03:59 AM

hmm, strange, I can print my sites to a single pdf...


All times are GMT -5. The time now is 03:13 PM.