Postagens

Mostrando postagens com o rótulo Ubuntu

Splitting and merging large files in Linux

In some cases you won't be able to transfer very large files using storage devices. So the best way is to use split a given file in to arbitrary no of volumes at the source and them merge at the destination. This will simply do that for you. Splitting Say you have a directory/file called 'foo'. First you need to create a '.tar.gz'. tar -cvzf foo.tar.gz foo Then you can split it using split command and as a parameter you can give the size of a each volume. (here its 25MB) split -d -b25m foo.tar.gz foo.tar.gz. Merge Simply you can merger using the cat command. cat foo.tar.gz.0* >foo.tar.gz Now you can untar this and use the original file/directory.

Image transferring on Ubuntu 9.10 - gPhoto2 as Nikon Transfer

Imagem
When dealing with multimedia devices Ubuntu becomes a nightmare as most of the devices does not offer you the Ubuntu compatibility. The story was the same for my Nikon Digital Camera transfer tools. I badly wanted to transfer images from my camera to my computer and found out that Ubuntu doesn't allow me to transfer the images. Finally gPhoto2 came to save me and it is a nice tool that allows you to transfer all your images from your cam to pc. This is what I did. Install gphoto2. (simply use the package manager) Unmount the device(camera) if mounted automatically. Open a terminal and go to the location that you want to store the images. Then do : gphoto2 --get-all-files For more information do : gphoto2 --usage That's all. By the way.. I know this is not a very user friendly way but after all as an Ubuntu user.. this is not an alien thing to use command line to transfer images :).

iTunes on Ubuntu - Songbird 1.4.3

Imagem
Missing iTunes on Ubuntu ? I have completely moved from Windows to Ubuntu 9.10 during last 3-4 months, and now I have alternatives for almost all the application I used to run on Windows. However, I'm missing iTunes so badly and couldn't find an attractive media player for Ubuntu till I came across Songbird . A few days back I downloaded their latest release( Songbird 1.4.3, Build 1438) and really feel happy about the user interface and the features. I feel like I'm using iTunes on Ubuntu.(apparently the Songbird plugin for iPod support seems broken so I have to user gtkpod for manage iPod on Ubuntu ) For those who are new to Songbird, it is a free and open source software audio player (and web browser too) which was founded by Rob Lord. Songbird utilizes the cross-platform frameworks, Mozilla's XULRunner and GStreamer media framework, and capable of running on Microsoft Windows, Mac OS X, and various Linux flavors(Ubuntu, Fedora). When we compare Songbird 1.4.3 with...

Restoring Grub2 on Ubuntu 9.10

It's often required to have a dual boot on any machine owing to the compatibility of the application software. I recently came across a real messy scenario where had to install Windows several times on my Ubuntu/XP dual-boot system. This is a bit risky case for two reasons. Ubuntu 9.10 comes with Grub2 and conventional Grub restoring methods would not be applicable and also Windows 2008-sp1 is know to be a very restricted OS with huge amount of security features. However, I managed to restore everything after installing Win 2008. Here are the steps that I followed. Following procedure will be valid on Ubuntu 9.10/Win XP, Vista, 2008, 7 You need the Ubuntu 9.10 live CD Boot from live CD Go to 'System->Administration -> Disk Utility' Find out the partition that you install Ubuntu (root). eg. 'sda4' Then open a terminal and mount the partition that you found above. ' sudo mount /dev/sdXY /mn t ' where X - Device Descriptor and Y-Partition Id ' sudo g...