Sponsored Content
Full Discussion: Deleting numerous files
Top Forums UNIX for Dummies Questions & Answers Deleting numerous files Post 67413 by izy100 on Wednesday 23rd of March 2005 09:23:25 AM
Old 03-23-2005
ls | xargs rm works best for me.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Making numerous virtual copies of a single file

I have to put a single/identical file to numerous different directories on a website and update them simultaneously and identically. If I have the master file in directory a/, how can I make a "virtual copy" of this file into an other directory, in a way that any changes to the master file will... (2 Replies)
Discussion started by: poredudue
2 Replies

2. HP-UX

Need to decommission numerous HP N class servers...any thoughts to do quickly?

I have numerous N-class servers with internal and external disks that I need to wipe. Does anyone have any ideas to do this quick and painless. Anything other than a sledge hammer Also, do I need to be in single-user mode and if so how do I do that? Servers are running 11.11 Thanks (3 Replies)
Discussion started by: itry
3 Replies

3. Shell Programming and Scripting

Need help comparing two files and deleting some things in those files!

So I have two files: File1 pictures.txt 1.1 1.3 dance.txt 1.2 1.4 treehouse.txt 1.3 1.5 File2 pictures.txt 1.5 ref2313 1.4 ref2345 1.3 ref5432 1.2 ref4244 dance.txt 1.6 ref2342 1.5 ref2352 1.4 ref0695 1.3 ref5738 1.2 ref4948 1.1 treehouse.txt 1.6 ref8573 1.5 ref3284 1.4 ref5838... (24 Replies)
Discussion started by: linuxkid
24 Replies

4. UNIX for Dummies Questions & Answers

bring up/down numerous interfaces

On a Solaris 9 system I had something happen to some of my interfaces; for some reason half of them went down. Since I have over 30 different Virtual IP's (or logical IP's) up on ce10 I don't want to take the time to find out which ones are up and which ones are down or even run the addif command... (2 Replies)
Discussion started by: snoman1
2 Replies

5. Shell Programming and Scripting

AIX system.... deleting files in remote directory after retrieving files

Hi Friends, I am new to this , I am working on AIX system and my scenario is to retrive the files from remote system and remove the files from the remote system after retreving files. I can able to retrieve the files but Can't remove files in remote system. Please check my code and help me out... (3 Replies)
Discussion started by: vinayparakala
3 Replies

6. Shell Programming and Scripting

Need to condense numerous IF/ELSE/FI statements into one if possible.

Hi there! Have literally just started using UNIX bash shell again and am writing simple scripts in VI. I basically have a working script but I know without a doubt it could be condensed down to much less code by integrating the individual IF statements. Here is my shoddy code :) ... (5 Replies)
Discussion started by: U_C_Dispatj
5 Replies

7. Shell Programming and Scripting

How to batch-processing numerous shell scripts?

How to batch-processing numerous shell scripts? how to record the result of all the scripts as a report? then, I can analysis the process result. I want to process numerous shell scripts in my working directory: the directory name is consistent with shell scripts name, that is to say,... (2 Replies)
Discussion started by: qcmao
2 Replies

8. Fedora

Concatenate Numerous Files

Hey! I wanted to find a text version of the Bible for purposes of grepping. The only files I could find, (in the translation I wanted), were Old Testament.txt and New Testament.txt. I thought, "fine, I'll just concatenate those two, no problemo." But when I unpacked them, turns out they had each... (22 Replies)
Discussion started by: sudon't
22 Replies

9. Shell Programming and Scripting

Bash script deleting my files, and editing files in subdirectories question

#!/bin/bash # name=$1 type=$2 number=1 for file in ./** do if then filenumber=00$number elif then filenumber=0$number fi tempname="$name""$filenumber"."$type" if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies

10. UNIX for Dummies Questions & Answers

Split 1 column into numerous columns based on patterns

Hi, I have a text file 'Item_List.txt' containing only 1 column. This column lists different products, each separated by the same generic string header "NEW PRODUCT, VERSION 1.1". After this the name of the product is given, then a delimiter string "PRODUCT FIELD", and then the name of the... (11 Replies)
Discussion started by: mmab
11 Replies
APPROX.CONF(5)                                                  File Formats Manual                                                 APPROX.CONF(5)

NAME
approx.conf - configuration file for approx proxy server SYNOPSIS
/etc/approx/approx.conf DESCRIPTION
Each non-blank line of the configuration file should contain a name/value pair, separated by white space. Comments start with a "#" char- acter and continue to the end of the line. Names that begin with the "$" character are reserved for use as configuration parameters. The following parameters are currently defined: $cache Specifies the location of the approx cache directory (default: /var/cache/approx). It and all its subdirectories must be owned by the approx server (see also the $user and $group parameters, below.) $interval Specifies the time in minutes after which a cached file will be considered too old to deliver without first checking with the remote repository for a newer version (default: 60) $max_rate Specifies the maximum download rate from remote repositories, in bytes per second (default: unlimited). The value may be suffixed with "K", "M", or "G" to indicate kilobytes, megabytes, or gigabytes per second, respectively. $max_redirects Specifies the maximum number of HTTP redirections that will be followed when downloading a remote file (default: 5) $user, $group Specifies the user and group that owns the files in the approx cache (default: approx) $syslog Specifies the syslog(3) facility to use when logging (default: daemon) $pdiffs Specifies whether to support IndexFile diffs (default: true) $offline Specifies whether to deliver (possibly out-of-date) cached files when they cannot be downloaded from remote repositories (default: false) $max_wait Specifies how many seconds an approx(8) process will wait for a concurrent download of a file to complete, before attempting to download the file itself (default: 10) $verbose Specifies whether informational messages should be printed in the log (default: false) $debug Specifies whether debugging messages should be printed in the log (default: false) The other name/value pairs are used to map distribution names to remote repositories. For example, debian http://ftp.debian.org/debian security http://security.debian.org TCP PORT NUMBER
The port on which approx(8) listens is not specified in this file, but in /etc/inetd.conf. The default value is 9999, for compatibility with apt-proxy(8), but it may be changed by running the command dpkg-reconfigure approx SEE ALSO
approx(8), approx-gc(8), inetd(8) AUTHOR
Eric Cooper <ecc@cmu.edu> Apr 2012 APPROX.CONF(5)
All times are GMT -4. The time now is 02:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy