LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 06-09-2004, 11:33 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
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
 
Old 06-10-2004, 12:43 AM   #2
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("jessie", "squeeze"), Linux Mint (Serena), XUbuntu
Posts: 221

Rep: Reputation: 24
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.
 
Old 06-10-2004, 03:03 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
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
 
Old 06-10-2004, 03:59 AM   #4
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
hmm, strange, I can print my sites to a single pdf...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
How can I rename a lot of files with a single command? pujolasdf Linux - Software 4 07-20-2005 05:27 AM
How to Unzip 2 Zip files through one single command sumitarun Linux - Newbie 2 03-23-2005 08:00 AM
Best way to combine files? JockVSJock Programming 4 04-25-2004 07:38 PM
I need a program to combine text with gif files stephenoregan4 Linux - Software 1 02-16-2004 09:29 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 04:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration