03-26-2010
I tried the second one and the script did not look inside the folders, did not copy the files from others folders...
> find -type f -name '*test*' -print0 |
> xargs -0 cp -t filezip
xargs: illegal option -- 0
xargs: Usage: xargs: [-t] [-p] [-e[eofstr]] [-E eofstr] [-I replstr] [-i[replstr]] [-L #] [-l[#]] [-n # [-x]] [-s size] [cmd [args ...]]
find: illegal option -- t
find: [-H | -L] path-list predicate-list
and the seconds commands also did not copy the files ./bound/234test235.txt, ./feed/687est687.txt
7 More Discussions You Might Find Interesting
1. Linux
Hi Everybody,
I am beginner to Unix platform, Can anybody guide me to learn the Unix, Scripting, shell scripting and inside stuff.
I am interesting in programming that needs the step by step walk.
Thankful to those who dare to walk along.
yours
farooq (5 Replies)
Discussion started by: farooq_kdp
5 Replies
2. Solaris
:) Hi UNIX friends,
Where do I get advanced vi commands to practice.
Please Help Me.
Love (4 Replies)
Discussion started by: Love
4 Replies
3. Programming
Hi,
I'm designing / writing a system which would analyze results of a load test and determine whether test passed or failed. The trouble is, the pass/fail criteria is very complex. And it may vary. So I'm thinking of something similar to Expert Systems.
One idea is put the rules in XML... (3 Replies)
Discussion started by: Yogesh Sawant
3 Replies
4. UNIX for Advanced & Expert Users
This perhaps does not belong in ths category; apologies, however, we have a heated debate going and your input will decide the result.
Should UNIX (HP, AIX, etc) be rebooted following a monthly cycle (Every month, or a qtr, etc.). We have some UX admins (grumps) who say they have seen a UX... (6 Replies)
Discussion started by: rsheikh
6 Replies
5. Solaris
Hi Gurus
I am facing a problem, there is a folder called /a where there are lots of files which are occupying space anything between 30 GB to 100 GB as I am not able to check the space occupied by that folder through "du -sh /a" command as I don't see any output after more than 1 hour of... (4 Replies)
Discussion started by: amity
4 Replies
6. Solaris
Hello everyone,
how do you really study to become an expert in solaris OS?
Thanks (3 Replies)
Discussion started by: cjashu
3 Replies
7. Shell Programming and Scripting
Guys,
I have been reading the bash books, there are so many command & operators etc. The theory part is so much. Overall I have read some book. Still do not feel I know the bash with confidence. Lots of Jobs for System Admin demand Scripting knowledge as requirement ..
I think I should... (7 Replies)
Discussion started by: heman96
7 Replies
NEW(1) [nmh-1.5] NEW(1)
NAME
new - report on folders with new messages
fnext - set current folder to next folder with new messages
fprev - set current folder to previous folder with new messages
unseen - scan new messages in all folders with new messages
SYNOPSIS
new [sequences] [-mode mode] [-folders foldersfile] [-version] [-help]
fnext is equivalent to new -mode fnext
fprev is equivalent to new -mode fprev
unseen is equivalent to new -mode unseen
DESCRIPTION
New in its default mode produces a one-line-per-folder listing of all folders containing messages in the listed sequences or in the
sequences listed in the profile entry "Unseen-Sequence". Each line contains the folder, the number of messages in the desired sequences,
and the message lists from the .mh_sequences file. For example:
foo 11.* 40-50
bar 380. 760-772 824-828
total 391.
The `*' on foo indicates that it is the current folder. The last line shows the total number of messages in the desired sequences.
New crawls the folder hierarchy recursively to find all folders, and prints them in lexicographic order. Override this behavior by provid-
ing foldersfile containing the pre-sorted list of folders new should check, one per line.
In fnext and fprev modes, new instead changes to the next or previous matching folder, respectively.
In unseen mode, new executes scan sequences for each matching folder.
FILES
$HOME/.mh_profile The user profile
PROFILE COMPONENTS
Path: To determine the user's nmh directory
Current-Folder: To find the default current folder
Unseen-Sequence: The name of the unseen message sequence
SEE ALSO
scan(1), mh-format(5)
HISTORY
Based on Luke Mewburn's new (http://www.mewburn.net/luke/src/new).
MH.6.8 11 June 2012 NEW(1)