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 [...]
by Scott Carpenter on 21 January 2010 at 9:41 pm
permalink |
comments (2) | filed under tech
tagged: bash, regex
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 [...]
by Scott Carpenter on 28 January 2009 at 7:55 pm
permalink |
comments (2) | filed under tech
tagged: bash
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 [...]
by Scott Carpenter on 30 October 2007 at 4:15 am
permalink |
comments (2) | filed under tech
tagged: bash, gnome, source control, svn
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, [...]
by Scott Carpenter on 28 October 2007 at 11:43 am
permalink |
comments (10) | filed under tech
tagged: bash, fsm, gnome, graphics
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 [...]
by Scott Carpenter on 14 October 2007 at 8:28 am
permalink |
comments (4) | filed under tech
tagged: bash, source control, svn
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 [...]
by Scott Carpenter on 15 April 2007 at 10:00 pm
permalink |
comments (24) | filed under tech
tagged: bash, code