NSS Delay Purge for deleted files not deleted volumes

Does anyone know how to set the "Delay Purge" for deleted files on an
NSS volume, not, deleted volumes. I have a problem in our company, they
want to use the automatic purge feature for deleted files but, they
want to set a "Delay" on the purging. I know you can set the Delay
Purge for deleted volumes, but I can't find a setting (if it even
exist) for Delay Purge for deleted files. Can anyone help. Thank you.
BTY, there're running NW 6.0 NSS 3.05.

I use toolbox and cron to rune a manual purge pass on the server once a
week.
A line in crontab:
00 02 * * 0 purge sys: -a -d=35
will purge volume sys every sunday at 2:00 and purge all files deleted 35
and more days before.
Klaus
"Montero" <[email protected]> wrote in message
news:[email protected] ups.com...
> Thanks for your input Massino, I guess I should refrase the question:
> Does anyone know HOW to delay the purging of deleted files on an NSS
> volume? If i'm going about it the wrong way, can you tell me how it can
> be done? Thank you.
>
> Sam
>
> Massimo Rosen wrote:
>> Hi,
>>
>> [email protected] wrote:
>> >
>> > Does anyone know how to set the "Delay Purge" for deleted files on an
>> > NSS volume,
>>
>> Such a thing doesn't exist.
>>
>> CU,
>> --
>> Massimo Rosen
>> Novell Support Connection Sysop
>> No emails please!
>> http://www.cfc-it.de
>

Similar Messages

  • Deleted Files NOT deleted??

    I copy music to and from my N9 (from Mac OSx 10.7 Lion) using the phone as a Mass Storage Device.
    Recently I deleted a folder from my N9 Music folder.
    The folder was the Artist, inside that was the Album and inside that was two MP3 music files.
    The music has gone but the album and album art remain remain in the Music Player. If you click on them it comes back with the (quite logical) error that the music files can't be found.
    How do I delete the album art?
    Connecting the phone to the Mac, it says that there are no items in the Trash and if I search the music folder, the files can't be found.; as expected.
    But the album art is still there.
    I have the QAD File Manager app and have searched the Trashes and Cache on my phone (and the pictures folder) but can't find the album art to delete it.
    Any ideas where it might be hiding?

    I use toolbox and cron to rune a manual purge pass on the server once a
    week.
    A line in crontab:
    00 02 * * 0 purge sys: -a -d=35
    will purge volume sys every sunday at 2:00 and purge all files deleted 35
    and more days before.
    Klaus
    "Montero" <[email protected]> wrote in message
    news:[email protected] ups.com...
    > Thanks for your input Massino, I guess I should refrase the question:
    > Does anyone know HOW to delay the purging of deleted files on an NSS
    > volume? If i'm going about it the wrong way, can you tell me how it can
    > be done? Thank you.
    >
    > Sam
    >
    > Massimo Rosen wrote:
    >> Hi,
    >>
    >> [email protected] wrote:
    >> >
    >> > Does anyone know how to set the "Delay Purge" for deleted files on an
    >> > NSS volume,
    >>
    >> Such a thing doesn't exist.
    >>
    >> CU,
    >> --
    >> Massimo Rosen
    >> Novell Support Connection Sysop
    >> No emails please!
    >> http://www.cfc-it.de
    >

  • Empty Log files not deleted by Cleaner

    Hi,
    we have a NoSql database installed on 3 nodes with a replication factor of 3 (see exact topology below).
    We run a test which consisted in the following operations repeated in a loop : store a LOB, read it , delete it.
    store.putLOB(key, new ByteArrayInputStream(source),Durability.COMMIT_SYNC, 5, TimeUnit.SECONDS);
    store.getLOB(key,Consistency.NONE_REQUIRED, 5, TimeUnit.SECONDS);
    store.deleteLOB(key, Durability.COMMIT_SYNC, 5, TimeUnit.SECONDS);
    During the test the space occupied by the database continues to grow !!
    Cleaner threads are running but logs these warnings:
    2015-02-03 14:32:58.936 UTC WARNING [rg3-rn2] JE: Replication prevents deletion of 12 files by Cleaner. Start file=0x0 holds CBVLSN 1, end file=0xe holds last VLSN 24,393
    2015-02-03 14:32:58.937 UTC WARNING [rg3-rn2] JE: Cleaner has 12 files not deleted because they are protected by replication.
    2015-02-03 14:32:58.920 UTC WARNING [rg3-rn1] JE: Replication prevents deletion of 12 files by Cleaner. Start file=0x0 holds CBVLSN 1, end file=0xe holds last VLSN 24,393
    2015-02-03 14:32:58.921 UTC WARNING [rg3-rn1] JE: Cleaner has 12 files not deleted because they are protected by replication.
    2015-02-03 14:32:58.908 UTC WARNING [rg3-rn3] JE: Replication prevents deletion of 12 files by Cleaner. Start file=0x0 holds CBVLSN 1, end file=0xe holds last VLSN 24,393
    2015-02-03 14:32:58.909 UTC WARNING [rg3-rn3] JE: Cleaner has 12 files not deleted because they are protected by replication.
    2015-02-03 14:33:31.704 UTC INFO [rg3-rn2] JE: Chose lowest utilized file for cleaning. fileChosen: 0xc (adjustment disabled) totalUtilization: 1 bestFileUtilization: 0 isProbe: false
    2015-02-03 14:33:32.137 UTC INFO [rg3-rn2] JE: CleanerRun 13 ends on file 0xc probe=false invokedFromDaemon=true finished=true fileDeleted=false nEntriesRead=1129 nINsObsolete=64 nINsCleaned=2 nINsDead=0 nINsMigrated=2 nBINDeltasObsolete=2 nBINDeltasCleaned=0 nBINDeltasDead=0 nBINDeltasMigrated=0 nLNsObsolete=971 nLNsCleaned=88 nLNsDead=0 nLNsMigrated=88 nLNsMarked=0 nLNQueueHits=73 nLNsLocked=0 logSummary=<CleanerLogSummary endFileNumAtLastAdjustment="0xe" initialAdjustments="5" recentLNSizesAndCounts=""> inSummary=<INSummary totalINCount="68" totalINSize="7570" totalBINDeltaCount="2" totalBINDeltaSize="254" obsoleteINCount="66" obsoleteINSize="7029" obsoleteBINDeltaCount="2" obsoleteBINDeltaSize="254"/> estFileSummary=<summary totalCount="2072" totalSize="13069531" totalINCount="68" totalINSize="7570" totalLNCount="1059" totalLNSize="13024352" maxLNSize="102482" obsoleteINCount="66" obsoleteLNCount="971" obsoleteLNSize="12974449" obsoleteLNSizeCounted="971" getObsoleteSize="13019405" getObsoleteINSize="7347" getObsoleteLNSize="12974449" getMaxObsoleteSize="13019405" getMaxObsoleteLNSize="12974449" getAvgObsoleteLNSizeNotCounted="NaN"/> recalcFileSummary=<summary totalCount="2072" totalSize="13069531" totalINCount="68" totalINSize="7570" totalLNCount="1059" totalLNSize="13024352" maxLNSize="0" obsoleteINCount="66" obsoleteLNCount="971" obsoleteLNSize="12974449" obsoleteLNSizeCounted="971" getObsoleteSize="13019405" getObsoleteINSize="7347" getObsoleteLNSize="12974449" getMaxObsoleteSize="13019405" getMaxObsoleteLNSize="12974449" getAvgObsoleteLNSizeNotCounted="NaN"/> lnSizeCorrection=NaN newLnSizeCorrection=NaN estimatedUtilization=0 correctedUtilization=0 recalcUtilization=0 correctionRejected=false
    Log files are not delete even if empty as seen using DBSpace utility:
    Space -h /mam2g/data/sn1/u01/rg2-rn1/env/ib/kvstore.jar com.sleepycat.je.util.Db
      File    Size (KB)  % Used
    00000000      12743       0
    00000001      12785       0
    00000002      12725       0
    00000003      12719       0
    00000004      12703       0
    00000005      12751       0
    00000006      12795       0
    00000007      12725       0
    00000008      12752       0
    00000009      12720       0
    0000000a      12723       0
    0000000b      12764       0
    0000000c      12715       0
    0000000d      12799       0
    0000000e      12724       1
    0000000f       5717       0
    TOTALS      196867       0
    Here is the configured topology:
    kv-> show topology
    store=MMS-KVstore  numPartitions=90 sequence=106
      zn: id=zn1 name=MAMHA repFactor=3 type=PRIMARY
      sn=[sn1] zn:[id=zn1 name=MAMHA] 192.168.144.11:5000 capacity=3 RUNNING
        [rg1-rn1] RUNNING
                 single-op avg latency=4.414467 ms   multi-op avg latency=0.0 ms
        [rg2-rn1] RUNNING
                 single-op avg latency=1.5962526 ms   multi-op avg latency=0.0 ms
        [rg3-rn1] RUNNING
                 single-op avg latency=1.3068943 ms   multi-op avg latency=0.0 ms
      sn=[sn2] zn:[id=zn1 name=MAMHA] 192.168.144.12:6000 capacity=3 RUNNING
        [rg1-rn2] RUNNING
                 single-op avg latency=1.5670061 ms   multi-op avg latency=0.0 ms
        [rg2-rn2] RUNNING
                 single-op avg latency=8.637241 ms   multi-op avg latency=0.0 ms
        [rg3-rn2] RUNNING
                 single-op avg latency=1.370075 ms   multi-op avg latency=0.0 ms
      sn=[sn3] zn:[id=zn1 name=MAMHA] 192.168.144.35:7000 capacity=3 RUNNING
        [rg1-rn3] RUNNING
                 single-op avg latency=1.4707285 ms   multi-op avg latency=0.0 ms
        [rg2-rn3] RUNNING
                 single-op avg latency=1.5334034 ms   multi-op avg latency=0.0 ms
        [rg3-rn3] RUNNING
                 single-op avg latency=9.05199 ms   multi-op avg latency=0.0 ms
      shard=[rg1] num partitions=30
        [rg1-rn1] sn=sn1
        [rg1-rn2] sn=sn2
        [rg1-rn3] sn=sn3
      shard=[rg2] num partitions=30
        [rg2-rn1] sn=sn1
        [rg2-rn2] sn=sn2
        [rg2-rn3] sn=sn3
      shard=[rg3] num partitions=30
        [rg3-rn1] sn=sn1
        [rg3-rn2] sn=sn2
        [rg3-rn3] sn=sn3
    Why empty files are not delete by cleaner? Why empty log files are protected by replicas if all the replicas seam to be aligned with the master ?
    java -jar /mam2g/kv-3.2.5/lib/kvstore.jar ping -host 192.168.144.11 -port 5000
    Pinging components of store MMS-KVstore based upon topology sequence #106
    Time: 2015-02-03 13:44:57 UTC
    MMS-KVstore comprises 90 partitions and 3 Storage Nodes
    Storage Node [sn1] on 192.168.144.11:5000    Zone: [name=MAMHA id=zn1 type=PRIMARY]    Status: RUNNING   Ver: 12cR1.3.2.5 2014-12-05 01:47:33 UTC  Build id: 7ab4544136f5
            Rep Node [rg1-rn1]      Status: RUNNING,MASTER at sequence number: 24,413 haPort: 5011
            Rep Node [rg2-rn1]      Status: RUNNING,REPLICA at sequence number: 13,277 haPort: 5012
            Rep Node [rg3-rn1]      Status: RUNNING,REPLICA at sequence number: 12,829 haPort: 5013
    Storage Node [sn2] on 192.168.144.12:6000    Zone: [name=MAMHA id=zn1 type=PRIMARY]    Status: RUNNING   Ver: 12cR1.3.2.5 2014-12-05 01:47:33 UTC  Build id: 7ab4544136f5
            Rep Node [rg3-rn2]      Status: RUNNING,REPLICA at sequence number: 12,829 haPort: 6013
            Rep Node [rg2-rn2]      Status: RUNNING,MASTER at sequence number: 13,277 haPort: 6012
            Rep Node [rg1-rn2]      Status: RUNNING,REPLICA at sequence number: 24,413 haPort: 6011
    Storage Node [sn3] on 192.168.144.35:7000    Zone: [name=MAMHA id=zn1 type=PRIMARY]    Status: RUNNING   Ver: 12cR1.3.2.5 2014-12-05 01:47:33 UTC  Build id: 7ab4544136f5
            Rep Node [rg1-rn3]      Status: RUNNING,REPLICA at sequence number: 24,413 haPort: 7011
            Rep Node [rg2-rn3]      Status: RUNNING,REPLICA at sequence number: 13,277 haPort: 7012
            Rep Node [rg3-rn3]      Status: RUNNING,MASTER at sequence number: 12,829 haPort: 7013

    Solved setting a non documented parameter " je.rep.minRetainedVLSNs"
    The solution is described in NoSql forum:   Store cleaning policy

  • TGW on Linux - log files not deleting

    I have been running TGW 3.5 for a few months on Linux and noticed the disk space is full. It seems the TGW logs are not clearing out. I have had to manually delete loads of log files.
    From the logs there seems to be a process which checks how long the logs have been there but for some reason not deleting them.

    By design TGW doesn't clear out old log files thinking that it would help in troubleshooting. But we are planning to enhance it by clearing log files older than x number of days..
    As you mentioned, the current fix is to manually clear out old log files. How often do you have to clear the logs ? Probably increasing available diskspace may help reduce iterations for cleaning up old logs ...

  • HT201250 what do I do if my passport for mac does not delete the old files when the disc is full

    What do I do  if the time machine does not delete the oldest files on my passport for mac. I get the message backup failed not enough disc space available

    See Pondini's TM FAQs, for starters.

  • Files not deleted on windows in MappedBufferManager

    We are seeing a problem where the nio file-based scheme does not delete the mapped temporary files once they are inactive. This is related to the link below; however, this is not just a problem when the process exits.
    Re: nio file manager does not clean up page files on Windows
    Given this caching scheme:
    <caching-schemes>
         <paged-external-scheme>
         <scheme-name>nio-scheme</scheme-name>
    <page-limit>5</page-limit>
              <nio-file-manager>
                   <initial-size>8m</initial-size>
                   <maximum-size>64m</maximum-size>
    <directory>c:/temp/nio/</directory>
              </nio-file-manager>
         <page-duration>10s</page-duration>
    <high-units>20000</high-units>
         <expiry-delay>20h</expiry-delay>
              </paged-external-scheme>
    </caching-schemes>
    The old files are not deleted once we cross the page limit boundary. So the directory will grow indefinitely large as the old files are not removed. We get this error:
    MappedBufferManager: failed to remove <path to file>
    Note, I added a note to the original posting, but was not sure if it was received since that post was so old. Lastly, this problem appears to be windows-only since the code works as expected on a linux distro using a sun jdk.
    We are using JDK 5.0 (build 1.5.0_15-b04) and Coherence 3.2.
    /thanks -warren

    I had similar problems. I could always mount the directory but couldn't see any of the files. I finally tracked the problem down to the user name I was using to login from the Mac being in a different XP security group than I had assumed. Once I changed the group membership, it worked as it should.
    The solution took awhile to find because my XP laptop is also used on my work LAN and therefore uses "professional" sharing not "simple" sharing. Professional sharing is much more complicated to troubleshoot. You have professional sharing on your XP machine if you see a "permissions" button on the share tab when you click properties on the file/directory.
    Here a two good links that might help.
    If you have professional sharing:
    http://www.practicallynetworked.com/sharing/xp_filesharing/index.htm
    If you have simple sharing:
    http://www.practicallynetworked.com/sharing/xp/filesharing.htm
    Good luck. My apologies if this is too basic for you but I've been working with computers since the early 1970's and still find networking a pain to configure.

  • Project Files Not Deleted From Server

    Thank you in advance if you can help.
    Application: Robohelp6/Server6 and earlier versions. Don't
    know about 7 or 8.
    Output: Webhelp Pro
    Background: Whenever I delete a topic from the publisher and
    publisher a project to our server, the htm file for that topic is
    not deleted. I started calling them "ghost" files because they
    should be dead and gone. Some users access these files following a
    direct URL hence providing them with outdated information. They
    don't normally appear in the application search results but
    hyperlinks to them work until the file is removed.
    I've tried different publishing options to get them removed.
    Check for delete files and republish entire project. The only way I
    found to get rid of them is to delete the file from the server
    manually. Another option is to delete the project from the server
    and republish everything.
    Question: Can anyone explain what is going on and if there is
    something I can to make sure they are automatically deleted when
    publishing.

    Welcome to our community, David
    I don't believe anything in RoboHelp publishing will actually
    ever delete files. It's my experience that any file that needs to
    be removed from the server has to be accomplished manually.
    So I know this calls into question what exactly does the
    option "Check for deleted files" actually DO?" Am I right?
    Here's the deal. Upon publishing, a list is created. The
    first round takes longest as it is also creating the list. When you
    publish again, files are compared to the list.
    Need updating? Nope. Skip it and move on.
    Need updating? Yes. Copy and replace the file.
    The option to check for deleted files slows the process. The
    process then becomes:
    Need updating? Nope. Does it still exist on server? Yes. Skip
    it and move on.
    Need updating? Yes. Copy and replace the file.
    Need updating? Nope. Does it still exist on server? Nope.
    Copy the file and move on.
    Hopefully that helps you better understand what is happening.
    Cheers... Rick

  • Files NOT deleted from hard drive

    iTunes will not send files to my recycle bin, only from remove them from my library. I have 2 computers with 7.0.2.16 running. One will ask me if I want to move files to my recycle bin, which it will then do. The other won't ask and won't delete them. I am unable to find any preferences item that would prohibit iTunes from deleting files, so what have I done to stop it and how do I change it?
    Thanks in advance for your time.
    Michael J. Guth
    QX6700   Windows XP Pro  

    At some point, I guess you accidentally clicked on the box for "Do not ask me again". At some point I'll figure out how to fix it with a script/program, but until then, the only fix is to close iTunes and then rename or delete your preferences file<pre>C:\Documents and Settings\username\Application Data\Apple Computer\iTunes\iTunesPrefs.xml</pre>
    Unfortunately, you will lose all of the rest of your preferences too

  • File not deleted from the folder

    Hi All,
    Im executing file to idoc scenario.
    my file processing mode is "delete" . But the file is not getting deleted from the folder but im getting success message in moni..
    other communication channels which are using the same ftp parameters are executing fine ( i.e files are getting deleted and success msg in moni ).
    the following is the error msg that i found in communication channel monitoring ...
    Failed to delete file 'IF416AQ1n.dat' after processing. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 421 Timeout (120 seconds): closing control connection.'. For details, contact your FTP server vendor.
    please help me in this issue..
    deepu.

    Hi all,
    Thanks for your replies..
    Im using a file of size 230744 bytes of type dat.
    time out: 600
    poll interval: 300
    retry interval : 120
    i communication chanell monitering i can see the following message ..
    Failed to delete file 'IF416AQ1.dat' after processing. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 421 Timeout (120 seconds): closing control connection.'. For details, contact your FTP server vendor
    file is not getting deleted.. what are the changes that i need to make ???

  • Files not deleting on Western Digital My Book Mac

    Hello,
    I recently deleted some time machine backups on my western digital my book mac. Unfortunately these files was not been deleted from the drive (the remaining disk space has not gone up circa 300GB). I have looked online and the issues seems to be the afp connection rather than using the smb connection.
    I have reconnected using this type, but I am still unable to see the files to delete. I have tried to connect using terminal, but to be honest I have no idea what I am doing. The file path is smb://WubberTimeCapsule.smb.tcp.local/My%20Book...
    Has anybody else seem this problem also, does anybody know of a way of deleting these files?

    leedern wrote:
    Thanks, it is an external hdd (Western Digital My Book Mac) connected to my old time machine (too small to fit everything on way) via the usb cable. The time machine is connected wirelessly to my network. Unfortunately I can not see the sparse bundle files anymore.
    Just for the sake of clarification, that's a +Time Capsule,+ Apple hardware combining a wireless router and hard drive. +Time Machine+ is the Apple software that does backups, to various destinations, including +Time Capsules.+
    This originated because I originally created the time machine backup with the external hdd connected directly to the mac. When I transferred the disk to the old time machine, it did not reuse the previous backup but created a new one. Hence in my ignorance I deleted the old files.
    Ah, yes, that's a different critter. Time Machine stores backups differently when they're done directly vs. over a network. The backups done directly were stored in a Backups.backupdb folder at the top level of the drive; the ones done over your network have that folder placed inside an odd container called a +sparse bundle.+ You cannot switch back and forth.
    Which ones did you delete, and how?
    It sounds like you deleted the Backups.backupdb folder, and didn't empty the trash, so they're still in the (hidden) trash folder on that drive. If so, disconnect it from your TC via +Airport Utility > Disks,+ connect it to your Mac, and empty the trash. That will take a very long time, as there are at least a few hundred thousand files there, perhaps many more.
    A quick alternative would be to simply erase the drive, via Disk Utility, while it's connected to your Mac. That will erase all the new and old backups. If you just started the new set, that might be easiest.
    If you decide to do that, see the green box in #Q2 of [Using Time Machine with a Time Capsule|http://web.me.com/pondini/TimeMachine/TimeCapsule.html] (or use the link in *User Tips* at the top of the +Time Capsule+ forum), for a way to speed up the first full backup.

  • Deleted files not relinquishing their disk space

    My system has recently developed an issue that I've never encountered before, and having come to the limits of my own knowledge of OSX I am now hoping somebody on here is able to help me with the problem.
    I have a CD 2.16ghz MBP running Leopard 10.5.5. Connected to the FW400 port on the Machine is a 500GB WD Mybook external drive, evenly split into 2 partitions -one of which I am using as my Time Machine backup drive, and the other partition which I've labelled Storage. The Storage partition has started to cause me some headaches. The partition is about 230 GB in size and contains a number of large DMG files (SuperDuper backups of my home directory and the like), and currently only has about 30GB of free space. When I now delete anything off this drive, instead of being moved to the trash it is instantly deleted. I have seen this behaviour once or twice in the past, but this time round I wasn't presented with the standard warning that deleting my files would be effectively instant. On top of this - and this is the real problem - the disk space used by that file is not relinquished back to the disk upon deletion. I have recently deleted about 70GB of files from the partition and whilst they have gone, I have not seen any more drive space made available to me in the Finder info bar or Get Info.
    So far I've used a 3rd party util called Disk Inventory X to see how the partitions space is allocated, and I can't see anything untoward in there (such as a large hidden folder containing my trashes), I've inspected the .Trash folder on the partition and confirmed it is empty, and I've unplugged and re-mounted the drive, all to no avail. I've doulble checked I have ownership of my .Trahs files, and that all seems to be in order, and that's about the extent of my expertise - I can't think of anything else to do to get to the bottom of this issue short of backing up all the files onto another volume and re-formatting the partition. Given the amount of time this will take I really want to leave this as a last resort.
    If anybody can help shed any light on this issue for me I would be incredibly grateful.
    Thanks in advance

    Update: I was previously unable to try "Secure Empty Trash" because Finder showed my Trash as empty. However, after deleting a file from my Home folder (so that the Trash icon now shows there's stuff there to be emptied), I have tried Secure Empty Trash again and it looks like Finder has begun the slow process of wiping about 70GB from my external partition.
    While this may have solved the issue for the time being, I am concerned that this behaviour will continue, so if anybody has encountered this issue before and knows how to deal with it, I'd still very much welcome your input.

  • Deleting Files not working!

    I have a Sony Cybershot DSC W30 and do not know how to delete pictures from it. I usually get them deleted automatically after the pictures are transferred to the computer, but decided not to.
    Now, I tried to delete them from the finder. I clicked on the camera icon on the desktop, and deleted all of the pictures I saw. This turned out to just be thumbnails, so there were still 950 MB (out if 1 GB memory). I knew there must be some hidden folders in there.
    I used the program Tinker Tool to view all of the hidden files and folders. Ah, I found where all of my photos were; in a folders called .Trash. This was where all of the pictures were stored that were taking up my memory. I highlight all of my pictures, and drag them to the trashcan - and here is my problem - they wont move. I tried moving them into a different folder and then into the trash, and they dont move, they just create aliases. So I delete the aliases which does nothing to the actual pictures in the camera.
    What can I do to free up the memory in my camera, and how should I go about deleting the pictures in the future?
    I have been trying to solve this problem for about a week, and would most appreciate any help whatsoever.
    Thanks in advance!

    Control-click the Trash icon in the Dock and choose Empty Trash from the menu which appears. If you are deleting files from a local disk, they will first go into the Trash instead of being deleted immediately, unless something prevents the Finder from modifying the Trash folder, in which case the computer will ask you if you want to delete the items immediately. If you are deleting files from a network disk, the prompt asking you if you want to delete them immediately will always appear.
    (15140)

  • Test for System File and Delete System File

    I have about 300 different tests that I run using TestStand, each with a somewhat unique report output filename:
      Example:  0-RMC 80 Timer_Interface_MaxValue_Report.html
    The filename includes the
        Number of Errors
        Product Name
        Build Revision
          and a unique test name.
    I would like to add a step to an existing initialization routine to test for an existing report file name and if it exists, bypass the test sequence.
    The question is, how do I run a system command within TestStand to test for a file, for example:
      If (SystemCommand(dir Locals.ReportPath\0-RMC 80 Timer_Interface_MaxValue*.html) then
        Don't run this test...
    Similarly, I also need to know how to delete a file from within TestStand.
        SystemCommand(Del 9999*.*)
    Mike

    You can use the FindFile method in the TS API:
    FindFile Method
    Syntax
    Engine.FindFile ( fileToFind, absolutePath, userCancelled, promptOption = FindFile_PromptHonorUserPreference, srchListOption = FindFile_AddDirToSrchList_Ask, isCommand = False, [currentSequenceFile])
    The function itself returns a boolean which indicates if the file exists or not. 
    Then just use a Call Executable step to run command line string to delete the file.
    Hope this helps!
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Deleted files not clearing space on my hard drive

    I'm running iMovieHD v6.0.3 on an old PowerPC G5. Things have always run smoothly until now. When I started editing my most recent video, I had 191GB left on a 500GB hard drive. Whenever I deleted any clips, my trash file size went immediately to 6.73GB - 191GB Available. I edited this movie down from 45 minutes to 13 minutes and the same amount of space showed up in my trash (6.73GB) and hard drive (191GB left) as when the project began.
    I thought I may just have a single corrupt/buggy session, but this is happening now in a newer iMovie session. Command+i on my hard drive still says it has 191GB of free space - after deleting almost one hour of video. All trash is empty and the deleted files seem to be gone. What is wrong?
    BTW - I'm new here and not the biggest techie around, so please type slowly. Thanks.
    Kevin

    If any part of your edited clip remains in your iMovie project, then the discarded part also will remain, whether or not you empty the trash. As Bengt points out, this is non-destructive editing. If you discard the entire clip, so that no part of it remains in the project, then emptying the trash will free up space.
    A workaround is to export to your desktop the retained portion of the edited clip to Quicktime movie, and then import the resulting Quicktime movie back into your iMovie project. That creates a new clip. You can then delete the retained portion of the old clip, and when you empty the trash it will be deleted along with the edited parts that you previously removed, and space will be freed up. You also can wait until your iMovie project is completed, then send the whole project to Quicktime and import back in. Then when you empty the trash you will free up space. Further editing will be somewhat limited, however.
    Note: Whenever you permanently delete a clip, be sure that you have a back up copy somewhere on your drive if you think you might want to re-edit it or reference it in some way.

  • TPS and TPDF Files Not Deleted by Distiller

    I just upgraded from Acrobat 6.0 to 8.0. Now when I save a FrameMaker book to PDF, Distiller does not delete the TPDF and TPS files. Does anyone know why this is happening and what I can do about it?
    Thanks,
    Stephen Liddiard

    When you save a FrameMaker book as a PDF file, (File > Save Book As) FrameMaker creates a temporary PostScript file with a file type extension of TPS. After it has finished writing the TPS file, FrameMaker invokes Distiller to process the TPS file into a PDF file. As part of the process of turning the TPS file into a PDF file, Distiller creates a temporary PDF file with a file type extension of TPDF.
    With version 6 and earlier versions, Distiller cleaned up after itself by deleting these files. With version 8, it leave these files behind.
    I'd like to know if this is a bug or if it's a new feature. If it's the latter, I'd like to know how to disable it so that Distiller goes back to cleaning up its junk.
    (I am using FrameMaker 7.0)
    Regards
    Stephen Liddiard

Maybe you are looking for

  • HP PSC 1410 All in One HANG INDEFINITELY with Remote Downlevel Document

    Hi, after a few days of setting up my PSC 1410 All In One Printer, which is hooked up to a Compaq Presario V3000 running on Windows XP SP3 with AMD Turion 64x2 processor; and shared print to a Sony Vaio VGN FW33G, and a Mac Pro running on Snow Leopar

  • Time stamp to number conversion

    Hi All, I notice in Labview 7.0 the 'Get Date/Time to Seconds' and 'Seconds to Date/Time' now output a Time Stamp rather than actual seconds. There is a 'To Time Stamp" standard vi in the conversion pallet that converts a number (seconds) to a time s

  • How to instantiate a class from a different package?

    I am trying to instatiate a class in a package: a.b.c from another class in a different package: d.e.f How could I do so? I've already been trying many things but didn't manage to get it to work...

  • Slow MacBook Pro 10.9.5

    Like so many others, my MBP has slowed to a crawl. Based on responses to others’ questions, I assume that I have too many items eating up RAM. Here’s my EtreCheck report. Thanks in advance for your help. Problem description: Slow MacBook Pro EtreChec

  • Condition record for a header discount condition - Total gross weight

    As you know, we can not assign an access sequence for a header condition. How can I create a condition record for a header discount condition which takes into consideration the total gross weight of the items of a sales document? Thanks in advance fo