Top "Delete-file" questions

Tag for questions regarding file deletion.

Java.nio: most concise recursive directory delete

I am currently trying to recursively delete a directory... Strangely enough the shortest piece of code I was able to …

java directory nio delete-file
java file.delete() returns false but file.exists() returns true

When I am trying to delete a file which is present in tomcat server conf/Catalina/localhost from java code …

java file delete-file
How to delete a File in Google Drive?

How do I write a Google Apps Script that deletes files? This finds files: var ExistingFiles = DocsList.find(fileName); But …

file google-apps-script google-drive-api delete-file
Close a file created with FileOutputStream, for a next delete

I am currently facing some problem with a FileOutputStream in my Java code. Actually I am using a FileOutputStream for …

java delete-file fileoutputstream
Windows 2008 R2 - Kernel (System Process PID=4) is locking files and folders

Windows 2008 R2 - Kernel (System Process PID=4) is locking files and folders for a long time. For example when deleting …

file kernel locking windows-server-2008-r2 delete-file
Shell command/script to delete files whose names are in a text file

I have a list of files in a .txt file (say list.txt). I want to delete the files in …

file shell scripting delete-file
Automatically Delete Files/Folders

Is there any way to automatically delete all files or folders with few R command lines? I am aware of …

r file path directory delete-file
Auto delete all files after x-time

How do you auto delete all files under a sub directory after x-time (let say after 24 hours) - without using …

php file delete-file
CURL command line tool - Delete File from FTP server

I'm actually trying to use CURL to make some operations on a ftp server in C++ with Visual Studio. I've …

curl command-line ftp delete-file
Python: Difference between os.remove() and os.unlink() and which one to use?

I have a number of files in a folder. I want to delete each file once it has been processed. …

python delete-file