![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Development Releases: Linux Mint 4.0 Beta "Fluxbox", 4.0 Alpha "Debian" | iBot | UNIX and Linux RSS News | 0 | 01-04-2008 12:00 PM |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-19-2007 10:52 PM |
| Unix "at" / "Cron" Command New Problem...Need help | Mohanraj | UNIX for Dummies Questions & Answers | 3 | 01-26-2006 05:08 PM |
| Commands on Digital Unix equivalent to for "top" and "sar" on other Unix flavour | sameerdes | UNIX for Advanced & Expert Users | 1 | 08-28-2002 05:41 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
problems with "cp" (reliant unix 5.43)
Hi,
I've got a problem with the copy - command (reliant unix 5.43). It appears to me rather difficult to copy large amount of data. A command like "cp *.jpg" is simply refused. Does anybody know something about such a kind of restriction? Something like ... only 256 files could be copied at once. Perhaps it stays in relation with the file-system. It still appears strange to me ... Thanks in advance! sysadv |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Hi sysadv,
This is a normal behaviour. The * gets resolved as arguments before the command is interpeted. So therefor (you'll probably have lots of jpg-files) the cp errors of; too many arguments. Another remark is to not use the . This is something Windows alike. A dot in Unix has a different meaning, therefor I would suggest to try the following : for i in `ls *jpg` do cp $i <dest-dir> echo "Copy of $i was succesfull" done If this also does not work than do a man on "xargs"!! This can be your only solution then. I don't know the exact syntax, but man does Regs David |
|
#3
|
|||
|
|||
|
Much thanks for your comment. I'll take a look in the man - pages ...
Bye sysadv |
|||
| Google The UNIX and Linux Forums |