Link to home
Create AccountLog in
Avatar of stanleyhuen
stanleyhuen

asked on

Linux Command -- "Find"

I want to Find some files more than 10 days then move them to a folder
Avatar of ahoffmann
ahoffmann
Flag of Germany image

find / -type f -atime 10 -exec mv {} /tmp/folder \;

# I'd test with echo instead of mv first ;-)
ASKER CERTIFIED SOLUTION
Avatar of marxy
marxy

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer