Sponsored Content
Operating Systems Solaris Problem in using wildcard characters in xargs with find Post 302287865 by frank_rizzo on Monday 16th of February 2009 01:04:47 AM
Old 02-16-2009
try placing a back slash before it.

ie: \*
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Find wildcard .shtml files in wildcard directories and removing them- How's it done?

I'm trying to figure out how to build a small shell script that will find old .shtml files in every /tgp/ directory on the server and delete them if they are older than 10 days... The structure of the paths are like this: /home/domains/www.domain2.com/tgp/ /home/domains/www.domain3.com/tgp/... (1 Reply)
Discussion started by: Neko
1 Replies

2. Shell Programming and Scripting

Problem using find and xargs

I'm using Imagemagick to create thumbnails for a large directory tree. The only thing I can't see is how to get it to write the thumbnails to a "thumbs" subdirectory! Either of these two commands from the Imagemagick site does most of the job: find -name '*.jpg' | xargs -n1 sh -c 'convert $0... (5 Replies)
Discussion started by: quixote
5 Replies

3. AIX

Removing a filename which has special characters passed from a pipe with xargs

Hi, On AIX 5200-07-00 I have a find command as following to delete files from a certain location that are more than 7 days old. I am being told that I cannot use -exec option to delete files from these directories. Having said that I am more curious to know how this can be done. an sample... (3 Replies)
Discussion started by: jerardfjay
3 Replies

4. UNIX for Dummies Questions & Answers

XARGS and FIND together

I am trying to delete files older than 60 days from a folder: find /myfolder/*.dat -mtime +60 -exec rm {} \; ERROR - argument list too long: find I can't just give the folder name, as there are some files that I don't want to delete. So i need to give with the pattern (*.dat). I can... (3 Replies)
Discussion started by: risshanth
3 Replies

5. Shell Programming and Scripting

find and xargs

hi, i've been trying to figure this weird error but I cannot seem to know why. I am using below find command: find . \( ! -name . -prune \) -type f -mtime +365 -print The above code returns no file because no files are really more then 365 days old. However, when I use xargs, its... (9 Replies)
Discussion started by: The One
9 Replies

6. Shell Programming and Scripting

Xargs + Find Help

Guys i want to run a command to list all directories that havn't been modified in over 548 days ( 1.5 yrs ). Id like to run a script to first print what the command finds ( so i get a list of the files pre move ... i have a script set for this : find /Path/Of\ Target/Directory/ -type d -mtime... (4 Replies)
Discussion started by: modulartention
4 Replies

7. UNIX for Dummies Questions & Answers

find/xargs/*grep: find multi-line empty "try-catch" blocks - eg, missing ; not in a commented block

How can I recursively find all files in a directory and print out the file and first line number of any text blocks that match the below cases? This would seem to involve find, xargs, *grep, regex, etc. In summary, I want to find so-called empty "try-catch blocks" that do not contain code... (0 Replies)
Discussion started by: lifechamp
0 Replies

8. Shell Programming and Scripting

Cut wildcard characters from a string

Hello All, I have to write a shell logic inside my ANT Script , the data from my ANT is in the string like string a = "test1.props,test2.props,*,test3.props,?,test4,props" how do i remove this wild card characters from my string a and assign them to an other string , like i only want to... (9 Replies)
Discussion started by: raokl
9 Replies

9. Shell Programming and Scripting

sed replace characters using a wildcard

Hello, I have some data that looks like the following, > <SALTDATA> (OVS0199262) HCl > <IDNUMBER> (OVS0199262) OVS0199262 > <SUPPLIER> (OVS0199262) TimTec > <EMAIL> (OVS0199262) info@timtec.net > <WEBSITE> (OVS0199262) http://www.timtec.net I need to remove the data in... (3 Replies)
Discussion started by: LMHmedchem
3 Replies

10. UNIX for Beginners Questions & Answers

Find and replace with wildcard

HI there, I am trying to find and replace with wildcard with data chr1 69511 69511 A G 1/1:0,34:791,78,0:78:34 0/1:55,60:1130,0,1513:99:116 1/1:0,28:630,63,0:63:28 0/1:0,34:626,57,0:57:34 To this chr1 69511 69511 A G homo hetero homo hetero Where I find and replace 0/1 with... (3 Replies)
Discussion started by: daashti
3 Replies
HTTP::Message::PSGI(3pm)				User Contributed Perl Documentation				  HTTP::Message::PSGI(3pm)

NAME
HTTP::Message::PSGI - Converts HTTP::Request and HTTP::Response from/to PSGI env and response SYNOPSIS
use HTTP::Message::PSGI; # $req is HTTP::Request, $res is HTTP::Response my $env = req_to_psgi($req); my $res = res_from_psgi([ $status, $headers, $body ]); # Adds methods to HTTP::Request/Response class as well my $env = $req->to_psgi; my $res = HTTP::Response->from_psgi([ $status, $headers, $body ]); DESCRIPTION
HTTP::Message::PSGI gives you convenient methods convert HTTP::Request object to PSGI env hash and convert PSGI response array ref to HTTP::Response object. If you want the other way round, see Plack::Request and Plack::Response. METHODS
req_to_psgi my $env = req_to_psgi($req [, $key => $val ... ]); Converts HTTP::Request object into PSGI env hash reference. HTTP::Request::to_psgi my $env = $req->to_psgi; Same as "req_to_psgi" but an instance method in HTTP::Request. res_from_psgi my $res = res_from_psgi([ $status, $headers, $body ]); Creates HTTP::Response object from PSGI response array ref. HTTP::Response->from_psgi my $res = HTTP::Response->from_psgi([ $status, $headers, $body ]); Same as "res_from_psgi" but a class method in HTTP::Response. AUTHOR
Tatsuhiko Miyagawa SEE ALSO
HTTP::Request::AsCGI HTTP::Message Plack::Test perl v5.14.2 2012-05-17 HTTP::Message::PSGI(3pm)
All times are GMT -4. The time now is 12:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy