Search Results

Search: Posts Made By: lipe.82
17,637
Posted By lipe.82
Yeah brother!!! thanks man! This worked. if...
Yeah brother!!! thanks man!

This worked. if you have some good tutorial about unix at the internet do tou can send the link, please.

Thanks a lot, now my script will bi very good!
17,637
Posted By lipe.82
But my files "*est*" are in diferent path that my...
But my files "*est*" are in diferent path that my user is, so i tried


find . -name "/d1/clarisdata/InBound/*est*" -exec cp {} filezip \;


and did not copy.
My user is /home/claris/ and I...
17,637
Posted By lipe.82
find . -type f -name '*est*' -exec mv {} filezip...
find . -type f -name '*est*' -exec mv {} filezip \;
find: incomplete statement

after

find . -name "*est*" -exec mv {} filezip \;
mv: ./filezip/teste.sh and filezip/teste.sh are identical
mv:...
17,637
Posted By lipe.82
Deu erro. find -name "*est*" -type f |...
Deu erro.


find -name "*est*" -type f | xargs cp -t filezip/
find: illegal option -- n
find: [-H | -L] path-list predicate-list
cp: illegal option -- t
cp: Insufficient arguments (1)
Usage:...
17,637
Posted By lipe.82
I tried the second one and the script did not...
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:...
17,637
Posted By lipe.82
on unix, there are diferent files, but they have...
on unix, there are diferent files, but they have some key in the name that are equal.

I want to copy all files to one directory.

Tks
17,637
Posted By lipe.82
Expert cp command
How can I use the cp command to copy every file that I can find inside several folders


cp -R *test* folder


Supose there is
./122342343teste122343.txt
./bound/123teste1223453.txt...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 03:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy