Finding Files Edited Today on Linux
Find all files in this directory (.) modified in the last day (-mtime -1) that aren’t directories (\! -type d) and execute the list function on them ls -l: find . -mtime -1 \! -type d -exec ls -l {} … Read More
Find all files in this directory (.) modified in the last day (-mtime -1) that aren’t directories (\! -type d) and execute the list function on them ls -l: find . -mtime -1 \! -type d -exec ls -l {} … Read More
To chmod recursively, meaning directories and all directories within, you’d use the -R option: chmod -R 755 From the chmod man page: -R, –recursive change files and directories recursively This is all simple enough, but for some reason I always … Read More
At one time, I had a tarred site still containing all its .svn directories. Needing to just start over and remove all .svn directories, I found the answer at Linux by Examples under the aptly named page “Remove All .svn … Read More
I’ve watched people search for character matches on Unix and Linux machines at times with not a lot of success. A very good way to make this search on a Unix/Linux box is to use the find, xargs, and grep … Read More
Ok, here’s a little bonus. I spent some time importing blog posts from pMachine into TypePad the other day. To import the posts into TypePad you can use the Movable type import format. This format is discussed here: http://www.sixapart.com/movabletype/docs/mtimport The … Read More
Quick notes on my implementation of Webalizer on multiple virtual hosts with Fedora Core 5. There is documentation that I used off the mrunix webalizer faq files. Mainly the INSTALL file. Here are the steps I followed: create ‘webalizer’ directory … Read More
I spent a few wasted minutes today trying to figure out how to remove the page title and url in the header and footer of a pdf document when converting from HTML to PDF while using Adobe Acrobat Distiller. This … Read More
I’ve just run into an issue with a double post of data. The issue I’m having, is that I’m sending order information to NetBilling. After about 600 order, I finally ran into a user that was charged twice, for the … Read More
You can use the ‘cp’ command in Linux to copy a directory with all it’s files and accompanying sub directories with the following option: cp -r directoryname newdirectory Make sure that you do not tab through so as to create … Read More
I’m looking at the documentation of WordPress Permalinks, more specifically, their “Pretty Permalinks“. What makes this hard is that I can’t easily find where they explain the instructions for creating the category/pagename link structure: site.com/category/post-name.html instructions. What you need to … Read More