; I want to check to see if there are any files to move (otherwise I get an ; error message generated if there are none) ; Then move the relevant files ; ; if [[ -e *.TXT ]] ; then ; mv *.TXT /tmp ; fi yes, I thought as much. That's pointless, just move them. If there's nothing there, you won't move anything. $ mv *.TXT /tmp r. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
- [SLUG] if [[ -e *.TXT ]] ; then Alister Waller
- Re: [SLUG] if [[ -e *.TXT ]] ; then Jobst Schmalenbach
- Re: [SLUG] if [[ -e *.TXT ]] ; then Jeff Waugh
- RE: [SLUG] if [[ -e *.TXT ]] ; then Alister Waller
- Re: [SLUG] if [[ -e *.TXT ]] ; then Jeff Waugh
- Re: [SLUG] if [[ -e *.TXT ]] ; then Terry Collins
- Re: [SLUG] if [[ -e *.TXT ]] ; then Russell Davies
- Re: [SLUG] if [[ -e *.TXT ]] ; then Alister Waller
- Re: [SLUG] if [[ -e *.TXT ]] ; then Russell Davies
- Re: [SLUG] if [[ -e *.TXT ]] ; then Jeff Waugh
- Re: [SLUG] if [[ -e *.TXT ]] ; then Alister Waller
