• Home
  • About
  • Map
  • Gallery
  • Resume
  • Archives
Grab the RSS feed

spiralbound.net

spiralbound.net
  • Home
  • Adventures
  • Data and Technology
  • Et cetera
  • Highlights

Posts Tagged with "spaces"

  • Data and Technology

    Posted on December 12th, 2007

    Written by cliff

    Tags

    array, path, php, programming, sed, spaces, string, str_replace, substitution, unix, unix find

    PHP and Sed for String Substitution

    I needed to replace a string in several thousand files scattered all over the filesystem on one of our servers. I used find to create a list of files that needed to be changed, along with their complete path and called it "list.txt". It looked something like this:

    /path/to/file/one/fileone.html
    /path/to/file/two/filetwo.php
    /path/to/file/three/filethree.htm
    /path/to/directory with spaces/filefour.txt
    and so on...

    I worked out the [...]

  • Data and Technology

    Posted on October 26th, 2007

    Written by cliff

    Tags

    applications, computer, cover flow, filesystem, filesystem snapshots, launcher, mac, mac mini, MacOS 10.5, mative, OS, spaces, stacks, time machine, unix, upgrade, upgrade process

    Mac OSX 10.5 Upgrade

    I've just finished upgrading my Mac Mini to OSX 10.5, and I have to say, the upgrade could not be simpler. While it did take slightly over an hour to complete, there were fewer than 10 clicks throughout the entire upgrade process, so I can't imagine how anyone could mung it up. The one detail [...]

  • Sponsor
  • Popular Posts
    • Bash For loop Example (891)
    • Why Did my Arm Fall Asleep? (462)
    • Fish Supposedly Washed Up By Asian Tsunami (249)
    • Spencer Tunick Photographs More Than 18000 Nudes In Mexico City (240)
    • Little Japanese Trucks (234)
    • Copy a Solaris Boot Drive to a New Disk (197)
    • Foreach Example in tcsh (188)
    • Solaris Disk Partition Layout & Mirroring Scripts (184)
    • Increase The Max Number of Processes Per UID in Solaris (150)
    • When Mac OSX SMB Connections Fail (147)
    • Bush Has Record Low I.Q. (136)
    • RHEL Winbind Authentication Against Active Directory (129)
    • Using Sort to List Directories by Size (129)
    • Giant Rabbits in North Korea (127)
    • Recovering From a Stuck Symantec Ghost Virtual Boot Partition (118)

Copyright © 2007 spiralbound.net // Proudly powered by Wordpress