1

have modified some files present in various folders in my ftp server. This was development environment. Now I have to find all files and directories modified or created yesterday to migrate to productions.

Is there any way (Linux command) to list only those files and folders created or modified yesterday in my ftp root tree?

i want command return such address:

ftp://myfto.co/Virtual/YouWave
ftp://myfto.co/Virtual/YouWave/1.txt
ftp://myfto.co/Virtual/YouWave/2
ftp://myfto.co/Virtual/YouWave/2/readme.txt
ftp://myfto.co/Virtual/YouWave/2/install.exe
ftp://myfto.co/Android/Sample
ftp://myfto.co/Java/Sample2
  • Do you need to do this over FTP, or can you have access to the filesystem directly? – ilkkachu Jan 6 '18 at 15:57
2

To find files and directories which have been modified in the last 24 hours:

find path -daystart -mtime -1

The option -mtime uses the modified date. To look at the created date, use -ctime.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.