Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Standup 12/7/2009

Rajan Agaskar
Monday, December 7, 2009

Interesting Things

  • Pivotal Core Bundle – Deprecations deprecated!

Two Pivots heroically removed some deprecated extensions and rake tasks from the Pivotal Core Bundle. Do not be surprised if your favorite code jams (like cancel_default_validates_associated class method) disappear next time you pull.

  • Move files fast!
    Some lucky pivot discovered that mv file.tgz * will move all files in the current path into the last file or directory it can find.

If for some reason you do not want this to happen, it is recommended that you always specify a destination when moving files.

To help you remember this protip, here’s a totally worthless analogy that involves automobiles: would you get into a cab without telling the driver where you wanted to go?

No, you would not, because he would take you to IHOP, and you hate pancakes. You wanted to go to Waffle House, which is unfortunate, because the nearest Waffle House is in Nevada.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

One comment

  1. Stephan Wehner says:

    Same with

    cp some_file.txt *

    Dangerous. The ‘-i’ switch, “prompt before overwrite”, could protect:

    alias mv=’mv -i’
    alias cp=’cp -i’

    (Place in bashrc or similar)

    Stephan

    December 7, 2009 at 11:31 am

Add New Comment Cancel reply

Your email address will not be published.

Rajan Agaskar

Rajan Agaskar
San Francisco

Recent Posts

  • Restart post-migration
  • Capybara 2.0 is out.
  • Try using Mongo
Subscribe to Rajan's Feed

Author Topics

  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >