Questions tagged [delete-file]
Tag for questions regarding file deletion. O.S. independent.
delete-file
2,122
questions
0
votes
1
answer
26
views
Uninstall package with non-python files that weren't in distribution
I have a python app that has been deposited on pypi as described here. The app runs an external software (blast+) and generates non-python files (various database and txt files, and an xml file that ...
0
votes
0
answers
20
views
Recovering files deleted with cygwin on Windows 11
I'm using cygwyn on Windows 11 and ran an over-enthusiastic delete command.
cygwyn does maintain a '$RECYCLE.BIN' folder, and the files are there ... '$I0BEVIM.pdf' for example
Is there a cygwyn ...
1
vote
0
answers
36
views
Deleting video files from gallery not working on Android 14
I am trying to make a function that deletes a selected video from a recycler view. After the confirmation in the confirmDeleteDialog I receive "Failed to delete video" , knowing that the ...
-1
votes
0
answers
65
views
How to delete files thoroughly in iOS
I try to delete big file(1GB+) in the document directory of my developing App, the codes as below. When I deleted the file, but the space occupied by the app in iPhone storage has not changed. Does ...
0
votes
1
answer
22
views
How to Get and Delete the file from Image element source C#
Context: my end user selects an image from his computer to use as his Profile pic in my C# standalone desktop application. And the backend basically copies the image selected by the end user in the ...
0
votes
0
answers
26
views
My code keeps throwing up a CPLE_AppDefinedError when using rasterio
Here is the issue. When I try to delete a temp.tiff file I no longer need, I get an error with this section of code. It is part of a for loop, and there's something in this for loop that is causing ...
0
votes
0
answers
25
views
Python script which delete every N-th file in folder [duplicate]
This question has been answered few times, but all answers (all scripts) are not working, they delete files randomly. I tried all.
For example this script doesn't work (here it should delete every 2nd ...
1
vote
1
answer
77
views
Can't delete file properly, error 404 not found
why doesn't my form delete files as it should, laravel displays the error message 404 not found. I created a delete button and issued a form with capital.
<button type="button" class=&...
0
votes
1
answer
65
views
how to delete 400000 empty files by using google drive api
Somehow I got empty 400000 files which contains "scripts100.." . all Those files are in root drive and I need to get rid fo those using python script via google API. Google support is ...
-5
votes
2
answers
54
views
(LINUX) use echo and grep to delete multiple files
I have 4 files in my current directory: '#cos#', ab.txt, cos~, file.txt. I want to delete all files with the word "cos" in them, which just also happen to be the only words with the letters '...
0
votes
0
answers
31
views
How to Delete image picker library created folder form mobile device
While using image picker. after cropping image how to delete the folder created by image picker from android app storage? because this folders increase apps data size.
i tried by calling image picker ...
0
votes
1
answer
28
views
Delete all files files in a folder three with two conditions: filename has only digits and a specific extension
thank you for your help. I look for a code to select all files in a folder three which have the filename similar to: ###.xlsx, where # is a digit. I am a newbie, and found a code that works for ...
0
votes
1
answer
61
views
How to delete a file with fully qualified file name having more than 259 characters from the command line?
I try to delete or rename a file from the command line on Windows 11 Professional. I can delete it with Windows File Explorer, but I need to do it also from the command line:
D:\MyDocsBackup\backup2\...
0
votes
0
answers
7
views
Nette Tester deletes my test after failure and forbids its recreation in the same directory
Nette Tester tells me the tests went fine, even though I know they couldn't have
Terminal saying test is OK
and then deletes the test that failed and i can't create it back in that folder anymore
Pop-...
1
vote
2
answers
89
views
How to delete files based on timestamp embedded in file name
I am filtering files to delete based on creation timestamp. The piece of code that uses file creation works fine except that these files have embedded timestamp that somehow is different from create ...