21 January 2010

findr: a GNU/Unix 'find' helper

I've been more aggressive lately about creating helper scripts and aliases for common tasks, and I liked this find helper enough to want to share it. I find that I often do filename searches like this:
find -iname "*some_word*"
That's not so bad to type, but why not make it even easier for my, and maybe your [...]

28 January 2009

tar up directories only

To create a tar file containing only a dir structure in GNU/Linux, this seems to work nicely:
tar -cvf filename.tar --after-date YYMMDD *
Where YYMMDD is a date newer than all files in the dir(s) being tarred up. Picking a date in the future should do the job. Tar will include all the directories and none [...]

30 October 2007

Subversion (SVN) GNOME Nautilus Script Helpers

Update, 3 November 2007:
Found a better solution: Jason Field's NautilusSvn. More SVN features, much better integration with Nautilus, and uses emblems to show file and directory status. There is a .deb file that installed easily on my Ubuntu 7.04/Feisty Fawn machine. And it's free as in GPL v2. Thanks, Jason!
Use NautilusSvn instead of my [...]

28 October 2007

HOWTO: Rotate JPG images in GNOME's Nautilus File Manager

Originally published 6 October 2007 in Free Software Magazine. It was pointed out in the comments there that Nautilus Extensions is another way of customizing Nautilus, and that the extension nautilus-actions should be used instead for what I'm trying to do here. I had seen Extensions mentioned as a more powerful alternative at gnome.org, [...]

14 October 2007

Subversion (SVN) helper bash script to list repo dirs

Finding my way around SVN. So far I've created a repository to hold my WordPress theme files and miscellaneous scripts. The working directories are scattered around my home dir, and I found that I wanted a way to view the structure of the repo itself. You can do this with the svn [...]

15 April 2007

bash shell script: copy only files modifed after specified date

Or maybe you just want to tar up only directories and subdirectories, excluding files...
I've mentioned a few times lately that I'm working on my backup plan for GNU/Linux. I started by looking at great free software tools like Samba's rsync and GNU Tar, and I don't think I need to look much further than [...]