Click to See Complete Forum and Search --> : read only files


mboot
10-22-2002, 02:26 AM
Anyone know how to delete read only files from a 5MX? I transferred several large directories of files from a Win2k version control system so they went to the Psion with the read-only attribute set. To delete one file I can unset the read-only box in 'Properties' but is there a way to unset the attribute for all files recursively? Tried to do it from PsiWin but get access error.
Thanks in advance!

wanman
10-22-2002, 02:37 AM
Hi mboot,

As per windows, you can select multiple files by using the shift or ctrl keys and then tapping on the required files. When the files you wish to delete are highlighted press ctrl+p and then uncheck the read only tick box. Click ok and then hit delete. You should now be able to delete all the files you wish.

If you need any other help, just post it here.

Regards

Si

mboot
10-22-2002, 02:44 AM
Thanks Si for the response :)
A problem however is that the files are in a quite deep directory tree (it's a snapshot of some java source with approx 100 files) so I can't select them all at once. On Windows I would search for all files then use the list of found files to uncheck the read-only. But the Psion OS doesn't appear to support this?
I'm not averse to doing it the long way, just wondered if someone else had a similar problem?

wanman
10-22-2002, 03:10 AM
Are these files all in the same folder? Is it the entire folder of files you wish to delete?

If they are then you can highlight the first file in the folder. Scroll to the last entry in the folder. Press Shift and then single tap on the last file. All files will now be highlighted and you will be able amend the properties as advised (ctrl+p). I

If the files are all fragmented in different folders then I think the manual approach may be the only option. Before you start though, there are shareware applications which mimic windows file manager.

One is RMRFile (link below). This has an advanced search function which might be just the thing you are looking for. Not sure if you have to register it before it will do what you want though.

http://www3.sympatico.ca/serge.chestopalov/rmrfile.htm

Let us know how you get on.

Regards
Si

mboot
10-22-2002, 03:34 AM
Yes, the problem is that the files are not all in the same directory, they are in about 40 separate ones.
I'll try the software you recommend and post back with results.
Thanks for the advice :)

wanman
10-22-2002, 03:37 AM
Hope it does what you need, or you are in for a long evening of deletion !!

Kind Regards
Si

MikeMcC
10-22-2002, 02:11 PM
Can you not transfer the top level folder to the PC and use that to remove the "Read Only" attribute from all of the files in the sub-folders and then return the top level folder to the Psion?

mboot
10-24-2002, 05:06 AM
Thanks to Si & Mike for the suggestions.
The result is that RMRFile does indeed support this - I did a search for '*' in all sub-directories, then selected Properties of the resultant file list and cleared the Read-Only attribute.
Regarding transfer using PsiWin, this also looks like it works but EPOC sees what you're trying to do and leaves the Read-Only files in the Psion even on a move operation. I guess this makes sense since to move the file it has to be deleted from the source location.
Thanks again for your help.