Ok, you are using the BusyBox find command and the manual which you posted above cleary shows that it does not support -exec option that you are using.
You are supposed to use only the options shown in the manual.
Hi all,
I want to delete all files in a directory which are older than a given date.
I thought of doing it by creating a file by the required date by using touch command. And then i would use find command on that file and try to find files older than that.
I searched the man and found a... (3 Replies)
please help me with this????? :confused: :confused:
i need to create a program that will run in unix that will delete all files in a given directory that is at least 3 months old. first the program will need to automatically know what date it is right now to determine the files it will... (3 Replies)
Guys,
My log files stored in the date format format below(log_20080714072942):
TIMESTAMP=`date +%Y%m%d%H%M%S`
LOG=/log/log_${TIMESTAMP}.log
I'm looking for a shell script which deletes all files which is older than 3 months from today.
Regards,
Bhagat (3 Replies)
hi
This should be easy but i'm obviously missing something obvious. :)
I'm looking to delete files from yesterday and older of extension .txt and there a range of subfolders with these files in them. The command runs but doesn't delete anything. SUSE 10.
find /testfolder -maxdepth 2 -type f... (6 Replies)
Hello,
I want to gzip files in a folder in bulk i.e. all files older than 1 month should be in *.gz format. Could you please suggest how this can be achieved. Thanks.
Regards,
Alok (1 Reply)
Hi All,
I am using the below script to find all the files in a folder which are older than 6 hours and delete all those files, but some how I am not getting the required output.
find $HOME/Log -type f -name "*.log" -amin +360 -exec rm *.* {} \
can any one please check and let me know... (13 Replies)
Hi Viewer,
I need logic code for moving the logs files from one directory to another directory.
source :/xxxxxx/ xxxxxx / xxxxxx / xxxxxx / log --- under log directory we have so many files from last two years
Here I need to check the files older than two months and I need to move in... (5 Replies)
Hi Gurus
the count of files in a particular Directory...
ls -lrth | grep -c ^-
can any one share the command to Count the files which is Older than 3 months
So please help me out in this
Thanks in Advance (2 Replies)
Hi,
I need to delete *.bad files which are 1 week old. How can I achieve that. I tried doing through below script but it deletes all the files.
find ./ -mtime +7 -exec rm *.bad {} \;
The below one works but i want to delete only files with .bad extension
find . -mtime +7 | xargs rm (2 Replies)
Discussion started by: Gangadhar Reddy
2 Replies
LEARN ABOUT DEBIAN
makeself
makeself(1) General Commands Manual makeself(1)NAME
makeself - An utility to generate self-extractable archives.
SYNTAX
makeself [options] archive_dir file_name label [startup_script] [args]
DESCRIPTION
This program is a free (GPL) utility designed to create self-extractable archives from a directory.
OPTIONS
The following options are supported.
-v, --version Prints out the makeself version number and exits.
-h, --help Print out help information.
--gzip Compress using gzip (default if detected).
--bzip2 Compress using bzip2.
--compress Compress using the UNIX 'compress' command.
--nocomp Do not compress the data.
--notemp The archive will create archive_dir in the current directory and uncompress in ./archive_dir.
--copy Upon extraction, the archive will first copy itself to a temporary directory.
--append Append more files to an existing makeself archive. The label and startup scripts will then be ignored.
--current Files will be extracted to the current directory. Implies --notemp.
--header file Specify location of the header script.
--follow Follow the symlinks in the archive.
--nox11 Disable automatic spawn of an xterm if running in X11.
--nowait Do not wait for user input after executing embedded program from an xterm.
--nomd5 Do not create a MD5 checksum for the archive.
--nocrc Do not create a CRC32 checksum for the archive.
--lsm file LSM file describing the package.
AUTHORS
Makeself has been written by Stephane Peter <megastep@megastep.org>. This man page was originally written by Bartosz Fenski <fenio@o2.pl>
for the Debian GNU/Linux distribution (but it may be used by others).
2.1.4 makeself(1)