Top "Delete-file" questions

Tag for questions regarding file deletion.

Delete all files in a directory w/o subdirectories with Apache Ant

I need an Apache Ant target that deletes all files in a directory but does not touch subdirectories. In my …

ant delete-file
Add files to SVN then delete before commit

I guess I was careless. I added a bunch of files to svn with svn add, then I saw a …

svn undo delete-file
How to delete files with a Python script from a FTP server which are older than 7 days?

I would like to write a Python script which allows me to delete files from a FTP Server after they …

python file ftp delete-file
What's the "proper" way to delete files from a ClearCase snapshot?

When I delete a file from my snapshot view, the next time I look at the snapshot in ClearCase Explorer, …

version-control clearcase delete-file snapshot-view
Powershell Get-ChildItem -recurse doesn't get all items

I'm working on a powershell script erase certain files from a folder, and move the rest into predefined subfolders. My …

powershell recursion delete-file subdirectory get-childitem
Windows batch file to delete .svn files and folders

In order to delete all ".svn" files/folders/subfolders in "myfolder" I use this simple line in a batch file: …

batch-file svn delete-file
Remove Files completely from git repository along with its history

I have uploaded a font file that I don't have the rights to distribute to git hub several updates ago. …

git delete-file
Clear git log file

I want to clear the git log files so that the command git log returns nothing. Is this possible? Is …

git logging delete-file
Batch file that keeps the 7 latest files in a folder

Can anyone help me create a batch file? Basically, my goal is to create a batch file that will keep …

file batch-file delete-file
Delete all files while maintaining directory structure

Given the directory structure c:\a\b\c\d\ - what DOS command will delete all files contained in c:\…

batch-file dos delete-file