Generated from C.65.00 /SYSADMIN/PUB/MYCICAT last modified on Sun Aug 29 15:08:37 2004
Back to Main Index
Removes symbolic links, device files, ordinary files, and empty directories.
PURGELINK [LINK=] linkname
linkname The name of a symbolic link, device file, ordinaryfile, or directory. All rules regarding file name specification apply to this parameter. This is a required parameter. You may not use wildcards in linkname or specify a file equation in place of linkname.
A symbolic link is a special file that can point to a file, group, account, or directory. Links are established through the NEWLINK command, and they are removed through the PURGELINK command. A device link is a special file that can point to an ldev for a device. Device links are established through the MKNOD command, and they are removed through the PURGELINK command. The PURGELINK command may be issued from a session, job, program, or in BREAK. PURGELINK requires Traverse Directory (TD) and Delete Directory entry (DD) permissions.
For the following examples assume that a user is currently logged on as USER1 in the group SAFE.COMPANY. To remove the link /COMPANY/SAFE/PAYROLL, enter the following command: PUREGLINK PAYROLL To remove the link /dira/scripts, enter the following: PURGELINK /dira/scripts To remove a file named SIERRA, enter: PURGELINK SIERRA To remove the device file called /dev/tape, enter: PURGELINK /dev/tape
Commands: NEWLINK, PURGE, PURGEDIR Back to Main Index