Hello,
We have 1000 of files and folders on 1 share.
We want to move files older then xxDays to another share, keep the map structure intact and if there are files newer then those xxDays leave them on the share.
Is this possible with a sheduled task?
Something like this that we use to delete files older then 30 days in 1 folder.
find "/mnt/Primair/scans" -type f -mtime +30 -exec rm -f '{}' \;
We have 1000 of files and folders on 1 share.
We want to move files older then xxDays to another share, keep the map structure intact and if there are files newer then those xxDays leave them on the share.
Is this possible with a sheduled task?
Something like this that we use to delete files older then 30 days in 1 folder.
find "/mnt/Primair/scans" -type f -mtime +30 -exec rm -f '{}' \;