Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Find and Move files

$
0
0
I have the below command to delete all .xml files older than 90 days

find . -type f -name '*.xml' -mtime +90 -exec rm {} \;

What will be the command to move all the .xml files older than 90 days to this folder -> "/tmp/my_bk"

My OS: SunOS my-pc 5.10 Generic_150400-17 sun4v sparc SUNW,T5440

Viewing all articles
Browse latest Browse all 16232

Latest Images

Trending Articles



Latest Images