Astrolitterbox

Wednesday, April 11, 2012

shell: counting files in the current directory

Basically, ls -1 | wc -l. All the rest can follow. from here
Posted by astrolitterbox at 1:26 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: flat files horror, shell

No comments:

Post a Comment

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

Blog Archive

  • ►  2014 (3)
    • ►  March (1)
    • ►  January (2)
  • ►  2013 (117)
    • ►  December (6)
    • ►  November (23)
    • ►  October (3)
    • ►  September (3)
    • ►  August (2)
    • ►  June (12)
    • ►  May (14)
    • ►  April (12)
    • ►  March (3)
    • ►  February (14)
    • ►  January (25)
  • ▼  2012 (96)
    • ►  December (8)
    • ►  November (12)
    • ►  October (19)
    • ►  September (5)
    • ►  August (25)
    • ►  May (8)
    • ▼  April (13)
      • numpy: combining 'less' and 'more' operators in wh...
      • Efficiency 101: reading large FITS table with Python
      • NSAtlas, surface photometry
      • Surface photometry
      • SDSS database utilities
      • Latex degree symbol
      • shell: counting files in the current directory
      • Creating a discrete Gaussian kernel with Python
      • A quick way to check if a list of files is complete
      • Check if files in a list exist with Python
      • Creating masks with GIMP
      • WCS to pixel values and vice versa in Python
      • Getting tsField files from SDSS
    • ►  March (5)
    • ►  February (1)

About Me

astrolitterbox
I am an astrophysics PhD student. My memory is short, hence this blog.
View my complete profile
Awesome Inc. theme. Powered by Blogger.