Novell is now a part of Micro Focus

Linux List All Files

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

Utility for listing all files on an NSS Volume on a Linux Server.


Product Categories:
  • Linux
  • Open Enterprise Server
  • Functional Categories:
  • Workgroup
  • Posted:17 Nov 2006
    File Size:3KB
    Publisher:Dean Giles


    Please read the note from our friends in legal before using this file.


    This tool lists all files on an NSS Volumes on an OES Linux Server, it also lists the file ids, modified time, size, and whether the object is a directory.

    It uses the Virtual File Services (Originally called Virtual File Services for NetWare) which were ported over to Linux. The SDK for this API set can be downloaded from The objective of the tool is to list the files on an NSS Volume in an XML output as specified in the VFS for NetWare specification. It is intended to be used as a sample script for developers that may want to use the VFS API set to view and manage storage.

    How to Use the file: is a Perl script. So Perl must be installed and running on the Linux server that this file is being loaded on. NSS must be installed to get the VFS support.

    From a terminal prompt type: Perl <enter>

    A sample output would be the following:

    grep57:/a # perl NSS1
    file is now open
    File Name: +</_admin/Manage_NSS/Volume/NSS1/FileEvents.xml
    Request Sent: <nssRequest><fileEventList><listAllFiles/></fileEventList></nssRequest>
    <result value="0"><description>zOK</description></result>

    The specifications explain the XML tags, but the information present here would let someone know the file or directory found on the NSS volume, the file name, file ID, modified time, and file size.

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

    © Copyright Micro Focus or one of its affiliates