IBM Support

About clearfsimport and hidden files

Technote (FAQ)


Will the IBM Rational ClearCase clearfsimport utility import hidden operating system files on Windows, UNIX and Linux into the VOB?


The clearfsimport tool will import hidden files from the operating system as seen in the example below.

However, when using wildcards with an import that involves UNIX-style hidden files, the operating system shell being used actually does the command line wildcard expansion before calling clearfsimport. Because system shells don't include hidden files in wildcard expansion, they're never passed to clearfsimport. Refer to APAR PK72079 for information about a related issue and workaround.

UNIX Example:

Note: Same results are true on Windows.

    [baseview] % pwd

    [baseview] % ls

    [baseview] % ls -al
    total 64
    drwxrwxr-x   2 root     other        242 Apr  2 12:15 .
    drwxrwxr-x   3 mkrash   clearcase     806 Apr  2 11:39 ..
    -rw-rw-r--   1 root     other         45 Apr  2 12:15 .hide
    -rw-rw-r--   1 root     other         27 Apr  2 12:15 nohide


    [baseview]% clearfsimport /tmp/test /vobs/test
    Validating directory "/vobs/test".
    Creating directory "/vobs/test/test".
    Creating element "/vobs/test/test/.hide".
       version "/main/1".

    Creating element "/vobs/test/test/nohide".
       version "/main/1".
    Closing directories.
    Checked in version "/main/1" of directory "/vobs/tester/tester/imp"
    Checked in version "/main/2" of directory "/vobs/tester/tester"

Verify the file .hide imported successfully.

    [ baseview] % pwd

    [baseview] % ls -al
    total 4
    drwxrwxr-x   2 mkrash   clearcase      51 Apr  2 12:33 .
    drwxrwxr-x   3 mkrash   clearcase     399 Apr  2 12:33 ..
    -r--r--r--   1 mkrash   clearcase      45 Apr  2 12:15 .hide
    -r--r--r--   1 mkrash   clearcase      27 Apr  2 12:15 nohide

Related information

About case sensitivity and ClearCase

Cross reference information
Segment Product Component Platform Version Edition
Software Development Rational ClearCase Converter: clearfsimport

Document information

More support for: Rational ClearCase
Converter: clearfsimport

Software version: 7.0, 7.0.1, 7.1, 7.1.2, 8.0, 8.0.1

Operating system(s): AIX, HP-UX, IRIX, Linux, Solaris, Windows

Reference #: 1121742

Modified date: 02 February 2009