gimpe »
20 September 2009 »
In FreeNAS, htpc, hype, linux, network »
Given that I spent time and money on my FeeNAS node, I want to maximize its usage, so when a friend told me that I can use PXE and NFS to boot a diskless computer from the network, I thought it was the perfect opportunity to try somehing new and activate some more services under FreeNAS!
Continue reading...
Tags: FreeNAS, htpc, linux, network
gimpe »
13 September 2009 »
In tips »
This will copy files with UTF-8 encoded characters filenames to new files with a ISO-8859-1 encoded filenames and, when everything is completed, will delete the old (UTF-8) files.
BE CAREFUL THIS IS NOT FOOL PROOF :) YOU MUST KNOW WHAT YOU ARE DOING TO NOT DOUBLE ENCODE THE CHARACTERS FILENAMES.
rsync SOURCE SAMEFORDESTINATION --recursive --human-readable --stats --times --progress --iconv=utf8,iso88591 --delete-after
To do the opposite change the iconv switch to: --iconv=iso88591,utf8
Note: If you run rsync as root, you can use --owner --group to keep the same user.group for the copied files.
Continue reading...
Tags: tips
gimpe »
08 September 2009 »
In Uncategorized »
To install iconv on a “data” parition:
export PKG_TMPDIR=/mnt/usb-data/temp
pkg_add -r iconv -P /mnt/usb-data/pkg
And execute this at boot time:
ln -s /mnt/usb-data/pkg/bin/iconv /bin/iconv
Continue reading...