My Notes

While searching files with find, exclude some directories

find . -type f -name '*.php' ! -path "./lib/*" ! -path "./Resources/*" -exec vim -s /root/vimscript.scr "{}" \;

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Links...

  • My Home
  • My Github
  • My Research
  • My Notes
  • My Poems
  • My Bookshelf
  • Disclaimer

Blog Archive

  • ►  2018 (4)
    • ►  November (1)
    • ►  October (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2017 (13)
    • ►  November (1)
    • ►  October (1)
    • ►  September (1)
    • ►  June (4)
    • ►  May (3)
    • ►  March (3)
  • ►  2015 (3)
    • ►  April (2)
    • ►  February (1)
  • ▼  2014 (53)
    • ►  November (2)
    • ▼  October (4)
      • Some low level debugging tools in linux.
      • PHP code cleaning tools.
      • While searching files with find, exclude some dire...
      • To print colored text in linux terminal
    • ►  September (6)
    • ►  August (41)
Simple theme. Powered by Blogger.