Welcome, Guest. Please login or register.

Author Topic: Looping through all directories of a partition?  (Read 3105 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MozzerFan

  • Hero Member
  • *****
  • Join Date: Mar 2005
  • Posts: 607
  • Country: 00
    • Show all replies
Re: Looping through all directories of a partition?
« on: October 13, 2009, 07:00:30 PM »
Quote from: sim085;525846
Hi, sorry to bring this up again, but does anyone know how to check if a file is a directory or not?

In Thomas example script, he uses the "files" parameter for the list command. This will only give a list of all files in a directory.
 
The "dirs" parameter for the list command will only give a list of all directories.