1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

rmdir impossibly slow

Discussion in 'Support' started by ccb, Mar 15, 2011.

  1. ccb

    ccb

    Joined:
    Jul 13, 2009
    Messages:
    44
    Likes Received:
    0
    [C:\work\MSI\branch]
    >ver
    TCC 12.01.44 x64 Windows 7 [Version 6.1.7601]

    I started the rmdir op show below; tcc.exe was spinning the CPU, but didn't seem to be deleting any files. I finally used Ctrl^C to stop the op, and called timer again to get the elapsed time.
    The dir is a subversion dir; stats from a similar dir:
    741,035,467 bytes in 7,455 files and 3,838 dirs

    Deleting a similar directory in Windows Explorer takes a couple of minutes.
    What's going on with TCC?

    C:\work\MSI\branch]
    >timer & rmdir /s /k ArrangerSpacing\ & timer
    Timer 1 on: 14:07:17
    C:\work\MSI\branch\ArrangerSpacing\* : Are you sure (Y/N)? Y
    ^C
    [C:\work\MSI\branch]
    >timer
    Timer 1 off: 15:10:25 Elapsed: 1:03:07.94

    [C:\work\MSI\branch]
    >
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,860
    Likes Received:
    83
    TCC is updating the fuzzy directory index on each directory deletion. Use the /NT switch to disable that.
     
  3. ccb

    ccb

    Joined:
    Jul 13, 2009
    Messages:
    44
    Likes Received:
    0
    Thanks, for the quick reply.
    "rmdir /?" mentioned "/N(o errors)", but not what the "/N[et]" options would do.
     

Share This Page