Linux

Script to delete files listed in a file

This is a short one liner bash script to delete files in a file. The script also handles filenames with space in them. $ while read file; do rm “$file”; done < filename.txt To generate a filename.txt file by searching for a specific pattern you can use the following command $ find / -type f […]

Read More
Linux

Using rsnapshot as backup solution

This post describes short how to use rsnapshot as a remote filesystem snapshot utility, based on rsync that I use as my personal backup tool. I have started using rsnapshot after using rsync and rdiff-backup and lost files because of file corruption. rsnapshot is a great backup utility because it hardlinks files if they already […]

Read More
Windows

Disable DLNA in Windows 7

If you are using your Windows 7 and have a active wireless network, then the chances are that you are sharing your media files with DLNA enabled devices like smartphones, TVs with wireless access and media centers. This HOWTO describes how you can disable DLNA in Windows 7. Type “Manage advanced sharing settings” in the […]

Read More
Linux

How to join *.001,*.002,… files from your Linux terminal

This is a easy way to combine/join/merge several .001 .002 .003 etc files to one file. # cat filename.avi.* > filename.avi The .001 .002 .003 files can be deleted after you have verfied that the files have merged together successfully to one file. If you were using Windows you would normally use a software like […]

Read More