<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Open Tech SmbA</title>
	<atom:link href="http://www.opentech.dk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.opentech.dk</link>
	<description>System &#38; Network Administration - Unix, Linux, Mac &#38; Windows</description>
	<lastBuildDate>Mon, 19 Jul 2010 23:08:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Listing large files in a directory hierarchy</title>
		<link>http://www.opentech.dk/2010/07/20/listing-large-files-in-a-directory-hierarchy/</link>
		<comments>http://www.opentech.dk/2010/07/20/listing-large-files-in-a-directory-hierarchy/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 23:02:46 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Procedure]]></category>
		<category><![CDATA[System Management]]></category>

		<guid isPermaLink="false">http://www.opentech.dk/?p=1049</guid>
		<description><![CDATA[rom time to time it can be necessary to free up space on a file system. A quick way to do this is to create a list of large files in a directory hierarchy.
The following example will look for files in a directory hierarchy and list files, that has a file size of more than [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.opentech.dk/wp-content/gallery/open-tech-smba-website/beastie.png" title="" class="shutterset_singlepic37" >
	<img class="ngg-singlepic ngg-right" src="http://www.opentech.dk/wp-content/gallery/cache/37__h=x_beastie.png" alt="beastie" title="beastie" />
</a>
From time to time it can be necessary to free up space on a file system. A quick way to do this is to create a list of large files in a directory hierarchy.</p>
<p>The following example will look for files in a directory hierarchy and list files, that has a file size of more than 50 MB. It uses &#8220;find&#8221; and &#8220;du&#8221; &#8211; and works on most Linux and Unix-like operating systems, such as <a href="http://www.ubuntu.com/">Ubuntu</a> and <a href="http://www.freebsd.org">FreeBSD</a>.</p>
<p><code>find /home -size +50M -exec du -h {} \;</code></p>
<div id="pfButton"><a href="http://www.opentech.dk/2010/07/20/listing-large-files-in-a-directory-hierarchy/?pfstyle=wp" title="Print an optimized version of this web page"><img id="printfriendly" style="border:none; padding:0;" src="http://cdn.printfriendly.com/pf-button.gif" alt="Print"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.opentech.dk/2010/07/20/listing-large-files-in-a-directory-hierarchy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removing black borders around movies</title>
		<link>http://www.opentech.dk/2010/07/19/removing-black-borders-around-movies/</link>
		<comments>http://www.opentech.dk/2010/07/19/removing-black-borders-around-movies/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 12:27:18 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Procedure]]></category>
		<category><![CDATA[System Management]]></category>

		<guid isPermaLink="false">http://www.opentech.dk/?p=1040</guid>
		<description><![CDATA[lack borders around movies and movie clips is a huge problem on the internet. Black borders is a result of video editing and bad handling of resolutions and aspect ratios, such as 16:9 and 4:3.
Removing black borders can be done with a video editor, such as FFmpeg, which is a complete, cross-platform solution to record, [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.opentech.dk/wp-content/gallery/open-tech-smba-website/ffmpeg.png" title="" class="shutterset_singlepic89" >
	<img class="ngg-singlepic ngg-right" src="http://www.opentech.dk/wp-content/gallery/cache/89__h=x_ffmpeg.png" alt="ffmpeg" title="ffmpeg" />
</a>
Black borders around movies and movie clips is a huge problem on the internet. Black borders is a result of video editing and bad handling of resolutions and aspect ratios, such as 16:9 and 4:3.</p>
<p>Removing black borders can be done with a video editor, such as <a href="http://www.ffmpeg.org/">FFmpeg</a>, which is a complete, cross-platform solution to record, convert and stream audio and video.</p>
<p>In our example, the size of each black border is guessed and the borders are removed from our input example of 720&#215;576 pixels and resized to 320&#215;288 pixels by FFmpeg.</p>
<p><code>ffmpeg -i example-input.mpg -croptop 76 -cropright 96 -cropbottom 76 -cropleft 96 -s 360x288 example-output.mpg</code></p>
<p>Do you need help with video editing? Contact Open Tech SmbA by mail at <a style="opacity: 1;" href="mailto:opentech@opentech.dk">opentech@opentech.dk</a> or call Open Tech SmbA at +45 43 62 22 88.</p>
<div id="pfButton"><a href="http://www.opentech.dk/2010/07/19/removing-black-borders-around-movies/?pfstyle=wp" title="Print an optimized version of this web page"><img id="printfriendly" style="border:none; padding:0;" src="http://cdn.printfriendly.com/pf-button.gif" alt="Print"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.opentech.dk/2010/07/19/removing-black-borders-around-movies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>System Administrator Appreciation Day</title>
		<link>http://www.opentech.dk/2010/07/19/system-administrator-appreciation-day/</link>
		<comments>http://www.opentech.dk/2010/07/19/system-administrator-appreciation-day/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 10:39:07 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Announcement]]></category>

		<guid isPermaLink="false">http://www.opentech.dk/?p=1029</guid>
		<description><![CDATA[riday 30 of July is the 11th System Administrator Appreciation Day.
A system administrator is a person, that is employed to maintain and operate a computer network system. The duties include installing, supporting and maintaining computer, client and server systems. The duties include planning for, and responding to, service outages and other problems. The duties include [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.opentech.dk/wp-content/gallery/open-tech-smba-website/wopr.jpg" title="A system administrator is going through the system check list for the War Operation Plan Response (WOPR) server at NORAD in &quot;War Games&quot;." class="shutterset_singlepic88" >
	<img class="ngg-singlepic ngg-right" src="http://www.opentech.dk/wp-content/gallery/cache/88__h=x_wopr.jpg" alt="System Administrator checking WOPR at NORAD" title="System Administrator checking WOPR at NORAD" />
</a>
Friday 30 of July is the 11th <a href="http://www.sysadminday.com/">System Administrator Appreciation Day</a>.</p>
<p>A <a href="http://en.wikipedia.org/wiki/System_administrator">system administrator</a> is a person, that is employed to maintain and operate a computer network system. The duties include installing, supporting and maintaining computer, client and server systems. The duties include planning for, and responding to, service outages and other problems. The duties include scripting and light programming, project management, supervising and training of computer operators. In order to do well, a system administrator must show a blend of technical skills and responsibility.</p>
<p>A system administrator may be a member of an information technology (IT) department, Unix <a href="http://en.wikipedia.org/wiki/Users%27_group">user group</a> (UUG) and Linux user group (LUG).</p>
<p>This means, that if you are able to read this, then thank your system administrator, who made sure, that your computer is working, that your computer can connect safely to the internet, that you can communicate across the world in seconds, that your files are backed up in case of human or technical disaster, that your printer work, that your server and services respond 24 hours a day, 365 days a year.</p>
<p>However, often we do not know our system administrator as well as our system administrator knows us. Therefore, the annual System Administrator Appreciation Day is the day, that we can show our appreciation in words, cakes, mugs or other <a href="http://www.gadgets.dk/">token gifts</a>.</p>
<p>The annual System Administrator Appreciation Day is last Friday of July.</p>
<div id="pfButton"><a href="http://www.opentech.dk/2010/07/19/system-administrator-appreciation-day/?pfstyle=wp" title="Print an optimized version of this web page"><img id="printfriendly" style="border:none; padding:0;" src="http://cdn.printfriendly.com/pf-button.gif" alt="Print"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.opentech.dk/2010/07/19/system-administrator-appreciation-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring the command line interpreter prompt</title>
		<link>http://www.opentech.dk/2010/07/15/configuring-the-command-line-interpreter-prompt/</link>
		<comments>http://www.opentech.dk/2010/07/15/configuring-the-command-line-interpreter-prompt/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 13:19:44 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Procedure]]></category>
		<category><![CDATA[System Management]]></category>

		<guid isPermaLink="false">http://www.opentech.dk/?p=1017</guid>
		<description><![CDATA[a href=&#8221;http://www.bash.org&#8221;>The GNU Bourne-Again SHell (bash) is the command line interpreter, that executes commands from the standard input, such as keyboard, or from a file, such as a automated script. It is used in many operating systems, such as Ubuntu.
In the following example, the default command line prompt for a user on an Ubuntu operating [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.opentech.dk/wp-content/gallery/open-tech-smba-website/bash-org.jpg" title="" class="shutterset_singlepic85" >
	<img class="ngg-singlepic ngg-right" src="http://www.opentech.dk/wp-content/gallery/cache/85__h=x_bash-org.jpg" alt="bash-org" title="bash-org" />
</a>
<a href="http://www.bash.org">The GNU Bourne-Again SHell (bash)</a> is the command line interpreter, that executes commands from the standard input, such as keyboard, or from a file, such as a automated script. It is used in many operating systems, such as <a href="http://www.ubuntu.com">Ubuntu</a>.</p>
<p>In the following example, the default command line prompt for a user on an Ubuntu operating system is configured for local usage and remote usage. The same procedure can be used for <a href="http://www.freebsd.org">FreeBSD</a> and similar operating systems.</p>
<p><code>nano -w ~/.bashrc<br />
PS1='$ '; export PS1<br />
nano -w ~/.profile<br />
PS1='$ '; export PS1</code></p>
<p>There are also system wide configuration files for bash, sh and other shells on the Ubuntu operating system. However, configuring the default command line prompt for users and administrator does not seem to be taken into effect on the Ubuntu operating system.</p>
<p><code>/etc/profile<br />
/etc/bash.bashrc</code></p>
<p>The system wide profile for shells should source in the bash system wide initialization file and configure the command line prompt for users and administrator (user 0).</p>
<div id="pfButton"><a href="http://www.opentech.dk/2010/07/15/configuring-the-command-line-interpreter-prompt/?pfstyle=wp" title="Print an optimized version of this web page"><img id="printfriendly" style="border:none; padding:0;" src="http://cdn.printfriendly.com/pf-button.gif" alt="Print"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.opentech.dk/2010/07/15/configuring-the-command-line-interpreter-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing a network color laser printer in Ubuntu 10.04</title>
		<link>http://www.opentech.dk/2010/06/07/installing-a-network-color-laser-printer-in-ubuntu-10-04/</link>
		<comments>http://www.opentech.dk/2010/06/07/installing-a-network-color-laser-printer-in-ubuntu-10-04/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 16:31:22 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Procedure]]></category>
		<category><![CDATA[System Management]]></category>

		<guid isPermaLink="false">http://www.opentech.dk/?p=1001</guid>
		<description><![CDATA[nstalling a network printer means, that the Ubuntu desktop computer will be able to sent print jobs to a remote printer over the network.
In this example, we will install a Brother HL 4050 CDN network laser printer in the Ubuntu 10.04 operating system.
We visit the homepage for Official Ubuntu Documentation. We click Ubuntu 10.04 LTS. [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.opentech.dk/wp-content/gallery/open-tech-smba-website/laserprinter.jpg" title="" class="shutterset_singlepic54" >
	<img class="ngg-singlepic ngg-right" src="http://www.opentech.dk/wp-content/gallery/cache/54__h=x_laserprinter.jpg" alt="laserprinter" title="laserprinter" />
</a>
Installing a network printer means, that the Ubuntu desktop computer will be able to sent print jobs to a remote printer over the network.</p>
<p>In this example, we will install a Brother HL 4050 CDN network laser printer in the <a href="http://www.ubuntu.com">Ubuntu</a> 10.04 operating system.</p>
<p>We visit the homepage for <a href="http://help.ubuntu.com">Official Ubuntu Documentation</a>. We click Ubuntu 10.04 LTS. We click Printing and Faxing. We click Printing. We find the section for network printing. Here, we find the procedure for installing a network printer.</p>
<p>We open System, Administration and Printing. We click New and expand Network Printer. We follow the guide, go through the settings and print a test page. It works.</p>
<p>We also test printing from the browser and one of the office tools. It works.</p>
<div id="pfButton"><a href="http://www.opentech.dk/2010/06/07/installing-a-network-color-laser-printer-in-ubuntu-10-04/?pfstyle=wp" title="Print an optimized version of this web page"><img id="printfriendly" style="border:none; padding:0;" src="http://cdn.printfriendly.com/pf-button.gif" alt="Print"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.opentech.dk/2010/06/07/installing-a-network-color-laser-printer-in-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restoring data from a non bootable corrupt Windows file system</title>
		<link>http://www.opentech.dk/2010/06/07/restoring-data-from-a-non-bootable-corrupt-windows-file-system/</link>
		<comments>http://www.opentech.dk/2010/06/07/restoring-data-from-a-non-bootable-corrupt-windows-file-system/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 14:00:02 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Procedure]]></category>
		<category><![CDATA[System Management]]></category>

		<guid isPermaLink="false">http://www.opentech.dk/?p=997</guid>
		<description><![CDATA[n this example, we want to restore client data from a non bootable corrupt Windows file system on a working harddisk. The client want the restored data on compact disc (CD) media.
This procedure can be used with other operating systems and file systems as well.
We attach the harddisk to a computer, that support the harddisk [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.opentech.dk/wp-content/gallery/open-tech-smba-website/backtrack.png" title="" class="shutterset_singlepic84" >
	<img class="ngg-singlepic ngg-right" src="http://www.opentech.dk/wp-content/gallery/cache/84__h=x_backtrack.png" alt="backtrack" title="backtrack" />
</a>
In this example, we want to restore client data from a non bootable corrupt Windows file system on a working harddisk. The client want the restored data on compact disc (CD) media.</p>
<p>This procedure can be used with other operating systems and file systems as well.</p>
<p>We attach the harddisk to a computer, that support the harddisk interface, and boot the computer with a <a href="http://backtrack-linux.org">Back Track</a> Live CD.</p>
<p>Back Track is a Linux operating system, that can boot from CD. Back Tracks mounts file systems automatically. Back Track comes with a huge amount of tools, ready to use.</p>
<p>We can now access the client data.</p>
<p><code>ls /mnt/hda1</code></p>
<p>In order to write the client data to CD, we need to transfer the files to a <a href="http://www.freebsd.org">FreeBSD</a> network file system from which, an <a href="http://www.ubuntu.com">Ubuntu</a> computer, that has a CD writer, can access the files. We use <a href="http://en.wikipedia.org/wiki/Secure_copy">secure copy</a> (scp) to transfer the files.</p>
<p><code>scp -r /mnt/hda1 starnix@starnix:temporary</code></p>
<p>In order to preserve file names and support multiple CD&#8217;s, we archive and split the data using <a href="http://en.wikipedia.org/wiki/ZIP_%28file_format%29">zip</a>.</p>
<p><code>cd temporary<br />
zip -s 670m -r disk hda1<br />
ls -ld disk.z*</code></p>
<p>The result is a number of zip archives, that has been split into the necessary number of archives in order to fit each CD media. We can now write the data to CD&#8217;s. We do this by inserting an empty CD media into the Ubuntu computer. <a href="http://projects.gnome.org/brasero/">Brasero</a> disc writer offers to write our data to the CD. We drag the first archive and writes the data to disc. Note, that the first split archive is the z01 and the last is the zip.</p>
<p>The client can now copy the archives from the CD&#8217;s, unzip the archives and restore the files as necessary.</p>
<div id="pfButton"><a href="http://www.opentech.dk/2010/06/07/restoring-data-from-a-non-bootable-corrupt-windows-file-system/?pfstyle=wp" title="Print an optimized version of this web page"><img id="printfriendly" style="border:none; padding:0;" src="http://cdn.printfriendly.com/pf-button.gif" alt="Print"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.opentech.dk/2010/06/07/restoring-data-from-a-non-bootable-corrupt-windows-file-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deleting files without using the trash bin on an Ubuntu operating system</title>
		<link>http://www.opentech.dk/2010/05/28/deleting-files-without-using-the-trash-bin-on-an-ubuntu-operating-system/</link>
		<comments>http://www.opentech.dk/2010/05/28/deleting-files-without-using-the-trash-bin-on-an-ubuntu-operating-system/#comments</comments>
		<pubDate>Fri, 28 May 2010 00:12:42 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Procedure]]></category>
		<category><![CDATA[System Management]]></category>

		<guid isPermaLink="false">http://www.opentech.dk/?p=987</guid>
		<description><![CDATA[he trash bin on an Ubuntu operating system, and many other operating systems as well, is a desktop feature, that some users will find usefull upon accidental deletion of files. However, the trash bin uses a number of hidden directories in order to work. These makes a mess and takes up space on file systems. [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.opentech.dk/wp-content/gallery/open-tech-smba-website/ubuntu-logo.png" title="" class="shutterset_singlepic83" >
	<img class="ngg-singlepic ngg-right" src="http://www.opentech.dk/wp-content/gallery/cache/83__h=x_ubuntu-logo.png" alt="ubuntu-logo" title="ubuntu-logo" />
</a>
The trash bin on an Ubuntu operating system, and many other operating systems as well, is a desktop feature, that some users will find usefull upon accidental deletion of files. However, the trash bin uses a number of hidden directories in order to work. These makes a mess and takes up space on file systems. These hidden directories can also be a security problem because they can contain private files.</p>
<p>The solution is to enable the desktop delete feature.</p>
<p>Press Alt and F2. Run gconf-editor. Open apps, nautilus and preferences. Find enable_delete and set it. Close the dialogue. That&#8217;s it. We can now right click a file and delete it.</p>
<p>Note, that <a href="http://en.wikipedia.org/wiki/Srm_%28Unix%29">secure remove (srm)</a> should be used to delete private files.</p>
<p>The delete function in most operating systems simply marks the space occupied by the file as reusable (removes the pointer to the file) without immediately removing any of its contents. At this point the file can be fairly easily recovered by numerous recovery applications. However, once the space is overwritten with other data, there is no known way to recover it.</p>
<p><strong> </strong></p>
<p>srm is a secure file removal utility for Unix and Unix-like computer systems, such as Mac OS X or Linux respectively. It is a command line utility which exercises the <a href="http://en.wikipedia.org/wiki/Gutmann_method">Gutmann 35-pass algorithm</a> for secure file deletion.</p>
<div id="pfButton"><a href="http://www.opentech.dk/2010/05/28/deleting-files-without-using-the-trash-bin-on-an-ubuntu-operating-system/?pfstyle=wp" title="Print an optimized version of this web page"><img id="printfriendly" style="border:none; padding:0;" src="http://cdn.printfriendly.com/pf-button.gif" alt="Print"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.opentech.dk/2010/05/28/deleting-files-without-using-the-trash-bin-on-an-ubuntu-operating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing password on the Ubuntu operating system</title>
		<link>http://www.opentech.dk/2010/05/27/changing-password-on-the-ubuntu-operating-system/</link>
		<comments>http://www.opentech.dk/2010/05/27/changing-password-on-the-ubuntu-operating-system/#comments</comments>
		<pubDate>Thu, 27 May 2010 17:25:17 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Procedure]]></category>
		<category><![CDATA[System Management]]></category>

		<guid isPermaLink="false">http://www.opentech.dk/?p=982</guid>
		<description><![CDATA[hanging password on a Unix or Linux operating system is normally straight forward. However, changing password on an Ubuntu operating system can be a problem.
Let us test this. In our example, we want to have the password for a non privileged user changed.
We boot up an Ubuntu 9.10 operating system. We log on as a [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.opentech.dk/wp-content/gallery/open-tech-smba-website/ubuntu-logo.png" title="" class="shutterset_singlepic83" >
	<img class="ngg-singlepic ngg-right" src="http://www.opentech.dk/wp-content/gallery/cache/83__h=x_ubuntu-logo.png" alt="ubuntu-logo" title="ubuntu-logo" />
</a>
Changing password on a Unix or Linux operating system is normally straight forward. However, changing password on an <a href="http://www.ubuntu.com/">Ubuntu</a> operating system can be a problem.</p>
<p>Let us test this. In our example, we want to have the password for a non privileged user changed.</p>
<p>We boot up an Ubuntu 9.10 operating system. We log on as a non privileged user. We click System and then click &#8220;Users and Groups&#8221;. We click our user account. We click &#8220;Change password&#8221;. We type in our current password and authenticate. We type in our new password. We retype the new password. We click &#8220;Change password&#8221;. The dialogue confirm, that our password has been changed. This seems good! We click Close. However, now a dialogue appear. It want us to authenticate again. We type in our new password. This fails. We end up with an error message, that say &#8220;The configuration could not be saved. An unknown error occured&#8221;. We log out and must try a different approach.</p>
<p>It seems, that changing password is an untested feature in Ubuntu.</p>
<p>We log on as a privileged user. Click System. Click &#8220;Users and Groups&#8221;. We click the keys to make changes and enter our password. We click the user. We click Properties. We enter the new password. We take a look at his privileges. Close. Now, we are back at the &#8220;Users and Groups&#8221; dialogue. We close that as well. We log out and log on as the non privileged user.</p>
<p>It worked. It seems, that only privileged users can change password for non privileged users.</p>
<div id="pfButton"><a href="http://www.opentech.dk/2010/05/27/changing-password-on-the-ubuntu-operating-system/?pfstyle=wp" title="Print an optimized version of this web page"><img id="printfriendly" style="border:none; padding:0;" src="http://cdn.printfriendly.com/pf-button.gif" alt="Print"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.opentech.dk/2010/05/27/changing-password-on-the-ubuntu-operating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Splitting and merging PDF documents</title>
		<link>http://www.opentech.dk/2010/05/19/splitting-and-merging-pdf-documents/</link>
		<comments>http://www.opentech.dk/2010/05/19/splitting-and-merging-pdf-documents/#comments</comments>
		<pubDate>Wed, 19 May 2010 11:04:12 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Procedure]]></category>
		<category><![CDATA[System Management]]></category>

		<guid isPermaLink="false">http://www.opentech.dk/?p=975</guid>
		<description><![CDATA[n this digital age, scanning of documents is an important part of the document handling proces. However, not all document scanners are user friendly &#8211; and fail to scan a number of paper documents into a single multipaged Portable Document Format (PDF). Instead, users end up with a number of PDFs. Some might even be [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.opentech.dk/wp-content/gallery/open-tech-smba-website/pdfsam.png" title="" class="shutterset_singlepic81" >
	<img class="ngg-singlepic ngg-right" src="http://www.opentech.dk/wp-content/gallery/cache/81__h=x_pdfsam.png" alt="pdfsam" title="pdfsam" />
</a>
In this digital age, scanning of documents is an important part of the document handling proces. However, not all document scanners are user friendly &#8211; and fail to scan a number of paper documents into a single multipaged <a href="http://en.wikipedia.org/wiki/Portable_Document_Format">Portable Document Format (PDF)</a>. Instead, users end up with a number of PDFs. Some might even be multipaged PDFs, that contains one or more pages of garbage. The solution is to split the PDFs and merge them into a single multipaged PDF.</p>
<p>There are a number of online tools, that can do that. However, it can be a security problem to use these as PDFs will have to be transmitted over the internet in unencrypted format. There are also a number of downloadable applications. We recommend <a href="http://www.pdfsam.org/">PDFsam</a>.</p>
<p>In our test of PDFsam on the Ubuntu 9.10 operating system, we want to split a multipaged PDF into single PDFs and then merge a number of single PDFs into a single PDF.</p>
<p>We install PDFsam from Ubuntu Software Center. When installed, we launch it by clicking Applications, Office and pdfsam.</p>
<p>We open the Split plugin, add our multipaged PDF, choose Burst, choose same destination as source and then run the plugin. The splitted PDFs are written as expected. We open the Merge plugin, add our PDFs, move the pages up or down as necessary, set our destination file and run the plugin. The new multipaged PDF is written as expected.</p>
<div id="pfButton"><a href="http://www.opentech.dk/2010/05/19/splitting-and-merging-pdf-documents/?pfstyle=wp" title="Print an optimized version of this web page"><img id="printfriendly" style="border:none; padding:0;" src="http://cdn.printfriendly.com/pf-button.gif" alt="Print"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.opentech.dk/2010/05/19/splitting-and-merging-pdf-documents/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatic rotation, renaming and resizing of pictures</title>
		<link>http://www.opentech.dk/2010/05/15/automatic-rotation-renaming-and-resizing-of-pictures/</link>
		<comments>http://www.opentech.dk/2010/05/15/automatic-rotation-renaming-and-resizing-of-pictures/#comments</comments>
		<pubDate>Sat, 15 May 2010 18:21:37 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[Procedure]]></category>

		<guid isPermaLink="false">http://www.opentech.dk/?p=966</guid>
		<description><![CDATA[ometimes you need to share a number of raw pictures over the internet.
Raw pictures can have non-efficient file names from the digital camera. This makes them hard to organize and list. Raw pictures can be huge in file size. This is a problem for storage, backup, transfer, upload and download. Raw pictures can contain hidden [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.opentech.dk/wp-content/gallery/open-tech-smba-website/imagemagick.jpg" title="" class="shutterset_singlepic79" >
	<img class="ngg-singlepic ngg-right" src="http://www.opentech.dk/wp-content/gallery/cache/79__h=x_imagemagick.jpg" alt="imagemagick" title="imagemagick" />
</a>
Sometimes you need to share a number of raw pictures over the internet.</p>
<p>Raw pictures can have non-efficient file names from the digital camera. This makes them hard to organize and list. Raw pictures can be huge in file size. This is a problem for storage, backup, transfer, upload and download. Raw pictures can contain hidden data from your camera, camera software and picture editing software. The hidden data can include automatic data, such as timestamps, face identification and software details. That can be a security problem.</p>
<p>Therefore, you might want to prepare raw pictures for sharing over the internet.</p>
<p>In the following example, we will prepare a number of raw pictures from a digital camera for sharing over the internet.</p>
<p>The pictures are rotated according to their orientation data in <a href="http://da.wikipedia.org/wiki/EXIF">Exchangeable Image File Format (EXIF)</a>. The orientation data in EXIF is then reset. The pictures are renamed according to the timestamp in EXIF. The pictures will have their EXIF header removed for security reasons. All this is done using <a href="http://www.sentex.net/~mwandel/jhead/">jhead</a>, which a JPEG EXIF header manipulation tool, that is perfect for this task.</p>
<p><code>jhead -autorot -ft -nf%Y-%m-%d-%H-%M-%S -purejpg *.JPG</code></p>
<p>If the picture is horizontal, the picture is resized to a maximum width of 1000 pixels. If the picture is vertical, the picture is resized to a maximum height of 1000 pixels. The aspect ratio remains the same. This is done using <a href="http://www.imagemagick.org/script/mogrify.php">mogrify</a>, which is perfect command line processing tool for this task. mogrify is a part of <a href="http://www.imagemagick.org">ImageMagick</a>. Note, that Facebook has a maximum of about 604 pixels.</p>
<p><code>mogrify -resize 1000x1000 *.jpg</code></p>
<p>We can now share our pictures over the internet.</p>
<p>If needed, we can apply grey scaling and then a blue tint. This effect will make all pictures appear blue.</p>
<p><code>mogrify -modulate 100,0,100 -fill 'blue' -tint 25 *.jpg</code></p>
<p>If needed, we can add text, such as a title or copyright notice. We set the font to our TrueType font, the font size to 16, the place to bottom, the font color shade to black and the font color to pink.</p>
<p><code>mogrify -font /usr/share/fonts/truetype/opentech/excelates.ttf -pointsize 16 -draw "gravity south fill black text 2,12 'Open Tech SmbA' fill pink text 0,14 'Open Tech SmbA'" *.jpg<br />
</code></p>
<p>If needed, we can add a watermark. We set the font to our TrueType font, the font size to 36, the place to bottom, the font outline color to white, the transparency to 10%, the font color to black and the transparency to 10%.</p>
<p><code>mogrify -font /usr/share/fonts/truetype/opentech/excelates.ttf -pointsize 36 -draw "gravity south stroke rgba(255,255,255,0.1) fill rgba(0,0,0,0.1) text 0,0 'www.opentech.dk'" *.jpg</code></p>
<p>Open Tech SmbA can help your company automate picture and image processing. Contact Open Tech SmbA by mail at <a href="mailto:opentech@opentech.dk">opentech@opentech.dk</a> or call Open Tech SmbA at +45 43 62 22 88.</p>
<div id="pfButton"><a href="http://www.opentech.dk/2010/05/15/automatic-rotation-renaming-and-resizing-of-pictures/?pfstyle=wp" title="Print an optimized version of this web page"><img id="printfriendly" style="border:none; padding:0;" src="http://cdn.printfriendly.com/pf-button.gif" alt="Print"/></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.opentech.dk/2010/05/15/automatic-rotation-renaming-and-resizing-of-pictures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
