Discussion Locked

file copy based on last accessed date

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am migrating a shared folder from a Novell NetWare 4.11 server to a Windows 2000 server and I only want to copy files that have been accessed in the last six months. The last accessed date is in the extended file attributes but I can't find a utility that will copy files based on this. Anyone know of such a utility?

9 replies

by huckleberryhound

Not exactly what I was looking for this would be a way to accomplish the goal except it works based on the modified date of the file instead of the accessed date.
I will accept this answer anyway because I appreciate the thought and effort that went into it.

by stillatit

xcopy will copy based on modification date.

Check the parameters available for ncopy, it may have it.

Good luck.

by huckleberryhound

I appreciate the response but I am really looking for a tool that works with the last accessed date instead of the modified date.
I will accept this answer anyway because I appreciate the thought and effort that went into it.

by shmaltz

If you have Veritas Backup Exec it has an option of grooning that will do anything based on any critira you specify.

by huckleberryhound

Good tip but I was hoping for a utility more like xcopy or xxcopy instead of a backup/restore process.
I will accept this answer anyway because I appreciate the thought and effort that went into it.

by rsp

Use:

xcopy /d:m-d-y

Use /S to copy subdirs. /E to copy empty subdirs too. /H to copy hidden and system files. /K if you want to keep read-only files.

If that doesn't give you what you want, you could try ROBOCOPY in the resource kit, but I don't think that works on last accessed date, only create date.

Richard

by huckleberryhound

Thanks, I know about xcopy and the different switches but the date switch uses the modified date which is not the same as the last accessed date. I am trying to find a way to copy files that have been read but not modified recently.
I willaccept this answer anyway because I appreciate the thought and effort that went into it.

This discussion is closed to new replies.