Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Deleting unused files in Netware Server

11 views
Skip to first unread message

Anders Gustafsson

unread,
Apr 29, 2009, 3:17:32 PM4/29/09
to
Sarathy82,
> how to delete the files older than 2 years on novell servers,as there is
> problem when mapping the novell folders to the windows workstation,the
> last modified date is not updated when we map the netware folders.
>
Ummmm.. What version of NetWare? What patches and most important: What
versionof the client?

You mean that the last modified date is not updating when you modify a
file? Using what tool?

- Anders Gustafsson (Sysop)
The Aaland Islands (N60 E20)

Discover the Novell forums at http://forums.novell.com

Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement

Anders Gustafsson

unread,
Apr 30, 2009, 5:32:56 AM4/30/09
to
Sarathy82,
> Is there a tool to check files older than 2 years or to show last
> modified date.

Use NDIR. I suggest you type NDIR /HELP RES from a command prompt to see an example:

� NDIR Restrictions Specification Help 4.27 (000519) PTF �
+------------------------------------------------------------------------------�
� Purpose: Restrict which files are shown. �
� Syntax: NDIR [path] [/options [NOT] operator value] �
+------------------------------------------------------------------------------�
� Options: Operators: �
� AC Last accessed date LE Less than �
� AR Last archived date GR Greater than �
� CR Created/copied date EQ Equal to �
� OW Owner BEF Before �
� SI Size AFT After �
� UP Last updated date �
� NAM Name space �
� �
� Date formats must be mm-dd-yy or mm/dd/yy. �
+------------------------------------------------------------------------------�
� For example, to: Type: �
� Display all files updated NDIR *.* /UP BEF 6-05-91 �
� before June 5, 1991 �
� �
� Display files not owned by the NDIR *.* /OW NOT EQ ADMIN �
� user ADMIN �
+------------------------------------------------------------------------------+

Haitch

unread,
Apr 30, 2009, 10:11:24 AM4/30/09
to
sarathy82,

> I tried the command to check the files last updated before 01-01-09
> from the command prompt as
>
> NDIT *.* /UP BEF 01-01-09,
>
> Error while excution
> SERVER-5.70-151: Unable to find load file NDIR
> ??? Unknown command ???

NDIR is a dos command - run it from a dos box.

Send me an email at hamish at haitch dot net and I'll send you a utility
I wrote to do exactly what you need: Delete files not access or not
modified in the last x days.


--
Hamish
Run multi-processor NetWare VM's with vmBoost
http://www.haitch.net

Haitch

unread,
May 18, 2009, 11:32:49 AM5/18/09
to
uny,

> I have tried Disk Space Usage 2.4 but is there any way to let the
> Netware server to delete files that not have been accessed in 30days? I
> can use Scheduled Tasks in Remote Manager but what i dont know what
> command to execute?

Take a look at cleanOld:

http://www.novell.com/communities/node/8201/cleanold

Haitch

unread,
May 18, 2009, 2:11:18 PM5/18/09
to
uny,

> Thanks, works just fine. Is there any way to delete the empty folders
> that cleanOld leaves behind?

Not currently, but I guess I can look at adding an option to delete the
directory if it's empty.

Haitch

unread,
May 19, 2009, 7:48:43 AM5/19/09
to
uny,

> Yes, that would be greate. Thanks.

I've sent a copy to cool solutions that does that. It's not up on the
site yet, but if you want a copy now send me an email at hamish at
haitch dot net.

H.

0 new messages