Upload files with pscp

To upload the files the PSCP command line usage in this example will be:
From Windows to Linux.

pscp \ [user@]host:/dir

Upload all firmware files except the .web file using the following commands. You will be asked for the password (= password) for each file:

Examples
pscp.exe C:\DR64_5132\image username@10.0.0.1:

pscp.exe C:\DR64_5132\sbios1 username@10.0.0.1:

pscp.exe C:\DR64_5132\image4.c1 username@10.0.0.1:

pscp.exe C:\DR64_5132\logcodes.txt username@10.0.0.1:

How to add custom log files in logrotate

Create a custom log file within /etc/logrotate.d directory.

touch /etc/logrotate.d/customlog

Add the following to your /etc/logrotate.d/customlog file.

/var/log/customlog
{
 daily
 missingok
 compresscmd=/bin/gzip
 compressext=.gz
 compress
 sharedscripts
# postrotate
# endscript
}


Restart logrotate

sudo /usr/sbin/logrotate /etc/logrotate.conf

Done