![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sigempty what means? | Puntino | UNIX for Dummies Questions & Answers | 1 | 04-28-2008 09:44 AM |
| what does all this statments means? | vishalpatel03 | Shell Programming and Scripting | 1 | 01-09-2008 11:43 AM |
| what it means? | rraajjiibb | UNIX for Dummies Questions & Answers | 4 | 08-31-2004 02:36 PM |
| What does ##* means | yeheyaansari | UNIX for Advanced & Expert Users | 2 | 02-14-2002 09:39 AM |
| what is means by tar xvr - | E-Quality | UNIX for Dummies Questions & Answers | 2 | 09-24-2001 10:48 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
no space : What this means?
movePSOrders.sh[35]: no space
for file in $(find $INPUTDIR -type f -mtime +2) ; do #echo $file if test -f $file; then mv $file $OUTPURDIR fi done Same code is working in other env, I don't know why I am getting movePSOrders.sh[35]: no space |
|
||||
|
redundent check
first, your code is redundant..
find is finding files and you are again checking if it is a file the shorter one will be find $INPURDIR -type f -mtime +2 -exec mv {} $OUTPUTDIR \; cheers, Devaraj Takhellambam |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|