scp Command
Posted: Mon Feb 02, 2015 1:01 pm
I need a scp command that will connect remote server and find current date & last three days log files and bring them to local machine..Is it possible??
I write below but its not working
scp root@IP:/logs/'{find . -mtime -2 -name "*.LOG"}' /backup
I write below but its not working
scp root@IP:/logs/'{find . -mtime -2 -name "*.LOG"}' /backup