As Perderabo siad the + is a useful option if available, and is in POSIX but not implemented by all versions of find, most noticeably ( for a lot of people ) it is not found in the GNU version of find
Hi
I need to move multiple (say 10 files) from one location to another location. My selection would be like this...
ls -ltr *.arc | head ---> Need to move top 10 files with single command without iterating in loop. I know we can move files like this with find command but not sure if I can... (4 Replies)
What I'm trying to do is perform a copy, well a ditto actually, on the results of a find command, but some inline string substitution needs to happen.
So if I run this code find ./ -name "*.tif" I get back these results.
.//1234567.tif
.//abcdefg.tif
Now the action from exec or xargs I... (2 Replies)
Hi ,
Can somebody explain what is the difference in the below commands.. when using Xargs its giving all the hidden files and is it something xargs will do recursive searching or parsing ?
find . -type f -links 1 | xargs ls -li
find . -type f -links 1 | ls -li (1 Reply)
Hey all. Just a fast question, what is the technical difference between using back ticks and using xargs to perform a command?
Here's an example
Find /mydir -name *.conf |xargs rm
Vs
Rm 'find /mydir -name *.conf'
Is there a performance hit? I know they do the same thing but which is... (1 Reply)
I have read several docs on these on the web and looked at examples. I can't figure out the difference. In some cases you use one or the other or you combine them.
can someone help me understand this? (1 Reply)
I have the following bash script lines in a file named test.sh.
#!/bin/bash
#
# Write Date to cron.log
#
echo "Begin SSI Load $(date +%d%b%y_%T)"
#
# Get the latest rates file for processing.
#
d=$(ls -tr /rms/data/ssi | grep -v "processed" | tail -n 1)
filename=$d
export filename... (3 Replies)
Hi All,
i'm trying to create a tar of all the .txt files i find in my dir . I've used xargs to acheive this but i wanted to do this with exec and looks like it only archives the last file it finds . can some one advice what's wrong here :
find . -type f -name "*.txt" -print0 | xargs -0... (9 Replies)
Hi,
What is the difference between the following commands
find . -type f -exec grep 'abc' {} \;
and
find . -type f | xargs grep 'abc'
Appreciate your help. (2 Replies)
Hello,
I am trying to move all the file listed by below command to /tmp/testing directory
find ./ -maxdepth 1 -type f -mtime +3
I tried using -exec and xargs - none of the combination is working?
Please, help (3 Replies)
Discussion started by: saurabh84g
3 Replies
LEARN ABOUT DEBIAN
libmikmod-config
LIBMIKMOD(1) General Commands Manual LIBMIKMOD(1)NAME
libmikmod-config - script to get information about the installed version of libmikmod.
SYNOPSIS
libmikmod-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [--ldadd]
DESCRIPTION
libmikmod-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link
programs that use libmikmod. It is also used internally to the .m4 macros for GNU autoconf that are included with libmikmod.
OPTIONS
libmikmod-config accepts the following options:
--version
Print the currently installed version of libmikmod on the standard output.
--libs Print the linker flags that are necessary to link a libmikmod program.
--ldadd Print the extra linker flags that are necessary to link a libmikmod program if it was compiled with the GNU C compiler.
--cflags
Print the compiler flags that are necessary to compile a libmikmod program.
--prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that libmikmod was built with when computing the output for the
--cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be
specified before any --libs or --cflags options.
--exec-prefix=PREFIX
If specified, use PREFIX instead of the installation exec prefix that libmikmod was built with when computing the output for the
--cflags and --libs options. This option must be specified before any --libs or --cflags options.
AUTHORS
libmikmod is the result of the work of many people, including: Jean-Paul Mikkers, Jake Stine, Miodrag Vallat, Steve McIntyre, Peter
Amstutz, and many others.
A full list of people having worked on libmikmod can be found in the libmikmod source package.
This man page was inspired by the gtk-config man page written by Owen Taylor.
The k in ``Januark'' is not a typo. It's a genuine Y2K bug.
Version 3.1.10, 3rd Januark 2000 LIBMIKMOD(1)