Dear All:
I want to build a shell that delete files created two or more days ago ... I think it could be built using a special command with ls or grep, I'd apreciate any help from you guys
I have a lot of log files from november, december, january and this tool will help me a lot
The files... (3 Replies)
Simple question I am sure - but one that I dont know the answer to nevertheless..
I have a directory that I store log files in - but I wish to run a daily script in cron to delete all files in this directory that have not been modified within the last 7 days...
Can anyone help me? (10 Replies)
I have a directory that contains a number of history files for a process. Every file starts with the string "EVACK". FOr example
EVACK0101.000001
EVACK0102.095940
EVACKmmdd.hhmiss
I want to erase in the specific directory ONLY(no sub-directories) all EVACK files older then 90 days. I... (2 Replies)
Hi
When trying to find and delete files which are, say, 1 day, the find command misses a day. Please refer the following example.
xxxd$ find . -type f -ctime +1 -exec ls -ltr {} \;
total 64
-rw-rw-r-- 1 oracle xxxd 81 Apr 30 11:25 ./ful_cfg_tmp_20080429_7.dat
-rw-rw-r-- 1... (4 Replies)
Hi,
I need a script to delete files that are 30 days older and also the file name should contain aa or ab or ac as substring...
Regards,
Dolly.... (3 Replies)
Hi Guys,
I want to delete folder/files older than 7 days. Im using the command below.
find /test/test1 -mtime +7 -print0 | xargs -0 rm -Rf /test/test1/*
which works ok, but it deletes the test1 folder as well which i dont want. The test1 folder will have a list of sub-folders which in... (4 Replies)
Hello,
I am trying to delete specific files older than 7 days that start with FSTRnnnn (nnnn=sequnce number) from /home/users/userdir
I.E
cd home/users/userdir
ll
FSTR0001 Jul 8 14:20
FSTR0002 Jul 6 12:01
FSTR0003 May 25 09:45
FSTR0004 April 2 17:20
MSTR0034 Jul 6 12:45... (3 Replies)
Hi Guys,
I am new to unix
I am looking for a script to delete files older than 7 days but i also want to exclude certain directories (like arch,log .....) and also some files with extensions
( like .ksh, .ch, ..............)
Thanks (1 Reply)
Hi
In my aix server under the location "/usr/sap/SAPXI/extract", I have a lot of log files.
I need a script which is to be added in crontab so that the files and directories older than 14 days should get deleted automatically from the location "/usr/sap/SAPXI/extract".
Please advise me.... (3 Replies)
we need to have periodic clean up implemented in our sap directory \\sapds\PR1\int\scm\snp\outbound\snapshot. which needs unix script for Deleting files older than 14 days automatically in sap system unix os. (1 Reply)
Discussion started by: kvkreddy_b2w
1 Replies
LEARN ABOUT DEBIAN
di-netboot-assistant
DI-NETBOOT-ASSISTANT(1) User Commands DI-NETBOOT-ASSISTANT(1)NAME
di-netboot-assistant - Debian-Installer netboot assistant
SYNOPSIS
di-netboot-assistant [-hv] [--verbose] [--offline] {[install image...] | [purge image...] | [rebuild-menu] } [--arch=arch]
DESCRIPTION
di-netboot-assistant is a simple tool to download and extract latest debian installer netboot images.
Unless the -h, --help, -v, or --version option is given, one of the commands below must be present.
install
install is followed by a repository name desired for installation. The repository name has to be one of those declared in /etc/di-
netboot-assistant/di-sources.list. The image will be installed/extracted in the default location (declared in /etc/di-netboot-
assistant/di-netboot-assistant.conf).
purge
purge will remove a previously installed d-i netboot image, according to the image name specified.
OPTIONS
rebuild-menu
rebuild-menu will rebuild the to level menu. It's only usefull if you have installed some client images that have such top level menu
(like i386, amd64 and ia64). This command takes no argument.
-h, --help Print this message and exit
-v, --version
Print script version and exit
--arch=arch
Specify the architecture you want to install or purge. The architecture you can use for the install action must be declared in
/etc/di-netboot-assistant/di-sources.list. The architecture you can use for purge action in one of those you previously installed !
The usable architectures can be listed by leaving --arch= empty. The default architecture is the current one (as reported by dpkg's
APT::Architecture).
--verbose
Verbose messages
--offline
Don't download the file (simply re-extract and build menu)
PROXY
di-netboot-assistant uses wget or curl to actually download the files. You can set the environnement variables accordingly.
AUTHOR
di-netboot-assistant was written by Frank Lin PIAT <fpiat@klabs.be>.
Franklin Piat May 2008 DI-NETBOOT-ASSISTANT(1)