Can someone explain why this has a problem with spaces in the filename? for log in `locate WS_FTP.LOG`; do cat "$log" >> ~root/WS_FTP_ALL2.LOG; done How do you process files when there are spaces in the path? I even tried: cat `locate WS_FTP.LOG` >> ~root/WS_FTP_ALL2.LOG and I got the same result: it treats a space as an EOLN character Angelo