This is not a regular task. Usually we do not obliterate files.
But sometimes users add files with wrong names (I'll write a
submit trigger that prevents this) or wrong location (IMHO there's
no way to circumvent this problem). When this happens they simply
add their files with the right path and delete the old ones. Then
the old files should be obliterated. Sometimes these are quite
large lists. Using a special client spec does not work. If it
would, I could also use file specs with wildcards. But the file
names do not match very well.
The only thing that these files have in common is that they
are deleted.
What I really need is a list of all deleted files in a sub dir
so I can edit it and use for obliterate afterwards.
---
Carsten Orthbandt, Director Development
SEK SpieleEntwicklungsKombinat GmbH
http://www.sek-ost.de
"Wenn ich Visionen habe, gehe ich zum Arzt." - Helmut Schmidt
-----Original Message-----
Sent: Tuesday, June 11, 2002 8:44 PM
Subject: RE: [p4] Obliterating deleted files
Post by Paul BaylessThis works well if you want to delete directories. I don't know if
obliterate lets you pass it a whole list of files.
Yes, but it processes the first completely, then the second
completely,
then the third, and so on. So for faster elapsed-time, do the "put the
filenames into a client spec and obliterate based on that".
But in general, obliterating things is often a workaround for
a process/procedure that could stand a bit of refinement. Is there
a way to change your processes so that you don't have to expunge
files?
(Think of "obliterate" as being the equivalent of a carpet cleaner
that gets rid of anything dropped onto the carpet. Yes, it's helpful,
but perhaps you should think about why you're eating spaghetti with
tomato sauce in the living room, while you're at it?)
-jab
ps. Don't forget, "obliterate" locks most/all database tables as it
runs. If you want something to go away because you don't think you'll
need it again, consider obsoleting it by changing protections
("p4 protect")
to make it invisible to everyone.
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user