Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2004
    Posts
    48

    Unanswered: getting the file count

    hi all
    how can i get the count of files listed in a directory(comlete /with a particular extension)
    thnks in advace
    jagana

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool


    man ls
    man wc

    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  3. #3
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    ls -1 *.ext | wc -l

  4. #4
    Join Date
    Jul 2004
    Posts
    48

    thnks!!!!!

    thnks 4 ur help its working!!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •