[nmglug] ftp video file truncate

a a at kaluta.us
Mon Jan 11 03:48:23 PST 2010


original post:
The puzzle;
A netcam,sensor controlled,is cumulatively ftp auto uploading files to
an online "storage" site.

new post:
Any thoughts on the following,I believe the camera is generating a
folder in the ftp site directory "camera",how would I treat the text
below beginning with "tail" within that "camera" directory?.

tail -2000 logfile.txt > logfile2.txt; rm -f logfile.txt; mv
logfile2.txt logfile.

source:
http://stackoverflow.com/questions/1759448/why-doesnt-tail-work-to-truncate-log-files 











More information about the nmglug mailing list