Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17763

extract question

$
0
0

hello all, i have some logs like belowed. which case its not possible to use dateext on logrotate because of plesk. /vhosts/domain1/access.1.tar.gz /vhosts/domain2/access.1.tar.gz /vhosts/domain3/access.1.tar.gz i want to move these files to another server via tar over ssh. thats ok. but i want to rename filenames with $date during extraction. finally i want to see filenames like access.1.2016-03-17.tar.gz any advise? thanks.

submitted by /u/pacebao
[link] [comments]

Viewing all articles
Browse latest Browse all 17763

Trending Articles