ePrivacy and GPDR Cookie Consent by Cookie Consent

Clean up a directory tree

Clean up a directory tree 1.0

Clean up a directory tree 1.0 Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License - Python License
  • Databases: N/A
  • Downloads: 318
  • Released: Jun 6, 2007

Clean up a directory tree 1.0 Description

This script can be used to clean up a directory tree irrespective of whether the directory tree contains
non-empty directories. As long as the user has permission to remove the files, this will work.

There is no files, thor cleaning a non-empty directory tree in python os module. os.removedirs() cannot be used to clean directories with non-empty sub-directories. I work on windows and many times in the week, need to copy and delete a big file system from the network to my machine.

If I perform deletion using Windows Explorer, it takes a long time and also pops up unnecessary dialogs. The python script did it about 60% faster than explorer and about 10% faster than MKS tool-kit's 'rm -rf' command. 

free download

Clean up a directory tree Bookmark

Hyperlink code:
Hyperlink for Forum code:

Clean up a directory tree 1.0 Script Download Notice

Top 4 Download periodically updates information of Clean up a directory tree 1.0 script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Clean up a directory tree 1.0 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Tree

The following program displays the directory structure of a specified path using ASCII characters. The program can optionally display files in addition to directories.This program functions similar to the windows 'tree' command. ...
Python

Watching a directory tree on Unix

... value for rescanning; if it returns True, the directory tree will be rescanned without calling func() for any ... is so func() can write changes into the tree and prevent itself from being immediately called again.) ...
Python

RoadRunner

... allows you to update desired files in a directory tree. It needs to be run from the shell. ... inserted ) and d) the path of the directory where you want this update to occur. ...
Python

Rename subdirectories of a directory tree

... a sed/awk Python equivalent for walking into a directory tree and renaming certain subdirectories, while also looking into all xml files on the way and replacing/modifying certain strings in those files.It would be nicer ...
Python

Flexible directory walking

This function walks a directory tree starting at a specified root folder, and returns ... folders) that match our pattern(s).The standard match our tree function os.path.walk can be confusing, and is difficult to customize. It can also be ...
Python