I
I
Igor2019-11-29 07:14:46
Debian
Igor, 2019-11-29 07:14:46

Files in the folder are not deleted, what could be?

When writing a line:
find /data/backups -type f -mtime +3 -delete
Files are not deleted.
The files are already older than 5 days, not to mention 3 days.
Files in sql.gz resolution.
Not manually, not in a script are not deleted. What can you advise? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
WinPooh32, 2019-11-29
@whitegtr

The user does not have permission to delete files. Try with sudo.
Or, for some reason, the partition is mounted as readonly.

P
paran0id, 2019-11-29
@paran0id

ls -la /data/backupsto the studio

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question