Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Help in Removing the Old files Post 302968595 by vbe on Friday 11th of March 2016 11:40:03 AM
Old 03-11-2016
Quote:
the above code removes the all the files based on the Year but i dont want to remove the files from the SubDirectories. need a help on that
Ever considered using - prune option of find command?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Removing Files

I am trying to remove a file so that I can delete a directory. Unfortuantely the file looks like this --------.--- and the system is not allowing me to remove the file. System message is rm: Error: Illegal option -- - usage: rm file... I have tried rm * and rm *.* to no avail. Any... (5 Replies)
Discussion started by: Blondie
5 Replies

2. UNIX for Dummies Questions & Answers

Removing files

I have AIX 5.1 I was wondering how to remove a file name with a space in it Say {tb lsv.csv} ? When I use the {rm} command if you have a space it thinks it is a new file. So it looks for {tb} and {lsv.csv} instead of the name as a whole. Thanks in advance Dave By the way guys and gals the... (5 Replies)
Discussion started by: rocker40
5 Replies

3. Solaris

Removing Files

Hi Everyone , have a nice day what will be the command to be given in certain directory which removes all those files present in that very directory which were last modified one month ago ? Regards and Waiting (1 Reply)
Discussion started by: Dastard
1 Replies

4. UNIX for Dummies Questions & Answers

removing files

Hello all, I'd like to remove files which is returned by the following statement ls -l arch*.dbf|grep "`date|cut -c5-10`" (cut -c5-10 =Mar 20) To achive this,I tried the following statments but none worked .. rm < `ls -l arch*.dbf|grep "`date|cut -c5-10`"` rm `ls -l arch*.dbf|grep... (8 Replies)
Discussion started by: luft
8 Replies

5. UNIX for Advanced & Expert Users

Removing files

Hi, It seems someone has created files instead of actually running the commands, as below: -rw-r--r-- 1 oracle92 dba 0 Mar 2 11:19 PRIML_070302.ok -rw-r--r-- 1 oracle92 dba 557 Mar 2 11:20 PRIVH_070302.dat -rw-r--r-- 1 oracle92 dba 0 Mar 12 11:57... (2 Replies)
Discussion started by: LiquidChild
2 Replies

6. Shell Programming and Scripting

removing old files except configuration files and folders

Dear all, I want to remove files older than 2 months in the /home/member directory. But except the configuration files (like .bash_profile .config/ .openoffice/ .local/ .kde/ etc..) I have tried with the command find . -mtime +60 -wholename './.*' -prune -o -print -exec mv {} \; but it... (1 Reply)
Discussion started by: jamcalicut
1 Replies

7. UNIX for Dummies Questions & Answers

Removing Files

Hi, This might seem like a really stupid question but i have created a shell script and at the end of the script i want to remove most of the file i create. So I have: rm file test sorted However this does not work for the sorted one. The only way i can get this to work is if i do: rm... (4 Replies)
Discussion started by: jazz8146
4 Replies

8. Shell Programming and Scripting

Help with removing files

i have a directory that have files that contains word "spam", how can i remove all those files which have word spam. This code help me in searching find ./ -type f -exec grep -l "spam" {} \; How i will add removing option with it. If some one have good suggestion regarding searching... (2 Replies)
Discussion started by: learnbash
2 Replies

9. UNIX for Dummies Questions & Answers

Removing files

How do you delete/remove multiple files ? (5 Replies)
Discussion started by: nosuchluck
5 Replies

10. UNIX for Beginners Questions & Answers

Find and removing the old files and zipping the files using shell script

Hi, I am trying to removing the old files which were older than 10 days and same g zipping the files using the shell script. script was return as follows. find /jboss7_homes/JBOSS7/SKYLIV??/SKYLIV??_CRM/jboss-eap-7.0/standalone/log -mtime +10 -type f | xargs rm -f find /cer_skyliv??/log... (6 Replies)
Discussion started by: venkat918
6 Replies
eiskaltdcpp-daemon(1)					      General Commands Manual					     eiskaltdcpp-daemon(1)

NAME
eiskaltdcpp-daemon - simple daemon controllable via XMLRPC or JSONRPC SYNOPSIS
eiskaltdcpp-daemon -d eiskaltdcpp-daemon <Key> DESCRIPTION
EiskaltDC++ is a cross-platform program that uses the Direct Connect and ADC protocol. It is compatible with other DC clients, such as the original DC from Neomodus, DC++ and derivatives. EiskaltDC++ also interoperates with all common DC hub software. COMMAND LINE OPTIONS
A summary of options is included below. -d,--daemon" Run program as daemon -v,--verbose" Verbose mode -D,--debug" Debug mode -P <port>,--port=<port>" Set port for XMLRPC or JSONRPC (default: 3121) -L <ip>,--ip=<ip>" Set IP address for XMLRPC or JSONRPC (default: 127.0.0.1) -p file,--pidfile=<file>" Write daemon process ID to <file> -c dir,--confdir=<dir>" Store config in <dir> -l <dir>,--localdir=<dir>" Store local data (cache, temp files) in <dir> (defaults is equal confdir) -S <file>,--rpclog=<file>" Write xmlrpc log to <file> (default: /tmp/eiskaltdcpp-daemon.xmlrpc.log) -U <uripath>,--uripath=<uripath>" Set UriPath for xmlrpc abyss server to <uripath> (default: /eiskaltdcpp) -h, --help Display help and exit -V, --version Show version information and exit FILES
~/.config/eiskaltdc++/ or $XDG_CONFIG_HOME/eiskaltdc++/ Directory with user configuration files DOCUMENTATION
Detail documentation about available XMLRPC and JSONRPC methods can be found in our wiki: http://code.google.com/p/eiskaltdc/wiki/XMLRPC http://code.google.com/p/eiskaltdc/wiki/JSONRPC AUTHOR
This program was written by EiskaltDC++ developers team (see file AUTHORS). EiskaltDC++ homepage: http://code.google.com/p/eiskaltdc/ BUG REPORTS
If you find a bug in EiskaltDC++ please report it here: http://code.google.com/p/eiskaltdc/issues/list This manual page was written by Boris Pek <tehnick-8@mail.ru> for the Debian project (and may be used by others). 19 Feb 2012 eiskaltdcpp-daemon(1)
All times are GMT -4. The time now is 10:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy