delete_file(3alleg4) Allegro manual delete_file(3alleg4)NAME
delete_file - Removes a file from the disk. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int delete_file(const char *filename);
DESCRIPTION
Removes a file from the disk. You can't delete directories, though.
RETURN VALUE
Returns zero on success, non-zero on failure.
Allegro version 4.4.2 delete_file(3alleg4)
Hi,
I upload incorrect filename into unix account. I tried a lot of way to delete this filename, but not work...any idea?
-rwxrwxrwx+ 1 aaaaa userrr 698368 Jul 25 12:14 ab123 v2.12.09 with revision marks.doc
Many Thanks!! (32 Replies)
hi guys,
i need a script to delete files that have core in their name ...it might be part of the file name or as a .core extension ...any file that has core as its extension....
i am only able to delete files which just have thier name as core
using this :
find $1 -type f -name "core"... (12 Replies)
I have more than 1 million files (No directories). rm -rf * did not work.
How do i delete all these files at a stretch in a single command? (9 Replies)
Guys,
I had raised a question about deleting files older than today in a specific directory and i got this as an answer
find ${ARCH_DEST}/*.gz -mtime +0 -exec rm -f {} \;
What happens when there aren't files that meet this criteria ? Can it delete any other directories ? I had a shocking... (22 Replies)
Hi,
There were a few files deleted from a server by user xyz.
The file names are:-
/oraextME4/oradata/ME11G22/TEST_IMPORT_01.dbf
/oraextME4/oradata/ME11G22/RKVITR1_03.dbf
/oraextME4/oradata/ME11G22/TEST_IMPORT_02.dbf
need to know the ip address of the terminal from which that... (10 Replies)
Hello All
I am implementing my task in Perl and i found an issue.
What i want to do is to remove files from the directory which were made 20 days back using Perl script (9 Replies)
Hello,
I'm having an issue deleting a file from my home directory.
This the file I want to delete .shapshot. It looks like it is shapshoting my files in my home directory. Anyway how do I stop these snapshots?
This is the command I used.
rm -rf /home/cyberninja/.snapshot
ls -la... (13 Replies)
Hi All,
I want to login to a remote server using FTP command and then check for files older than 1 year and delete those files.
Please let me know how can i achieve this using Unix Commands.
Thanks in Advance, (10 Replies)
Hi,
I`m a total newbie, well my requirement is that i have 2 files
I want to identify which countries i do not currently have in db..
how can i use the grep or another command to find this file ..
i want to match all-countries.txt with countries-in-db.txt so the output is equal to... (11 Replies)
Hi ,
I am a newbie!!!
I want to develop a script for deleting files older than x days from multiple paths. Now I could reach upto this piece of code which deletes files older than x days from a particular path. How do I enhance it to have an input from a .txt file or a .dat file? For eg:... (12 Replies)
Hi,
I had created a whole bunch of files which are like *, *1, *2 etc...
Can someone tell me if there is a way to batch remove the whole directory?
I tried the solution which goes one level up and removes the file, but that doesn't seem to work for files beginning with a *.
Thanks in... (28 Replies)
I need to list and delete all files in current older which are olderthan 7 days. But my file names have white spaces. Before deleting I want to list all the files, so that I can verify.find . -type f -mtime +7 | xargs ls -l {}
But the ls command is the working on the files which have white... (16 Replies)
amigos
necesito dejar en un directorio solo los archivos del dia anterio, como puedo hacer eso con una shell
Hello.
Per our forum rules, all posts must be in English.
We do provide translation services for posts from English to a number of languages as a benefit to users. However,... (16 Replies)