how to compare filename of date and time between two folders
i have two folders both are in different directories.(eg ~/folder1/00) (ed ~/folder2/01).00 folder contains set of images .am copying 00 folder of images to 01 folders.now i want to compare two folders(00 and 01) each filename along with dat and time.if time and date are not same i want to rechange it..how should i read and compare both folders of file name along wiht date and time one by one ..can any one give suggestion for this.:confused:
Thanks in Advance
Re: how to compare filename of date and time between two folders
QDir::entryInfoList() http://doc.qt.io/qt-5/qdir.html#entryInfoList will give you the necessary information about each directory's files.
Cheers,
_
Re: how to compare filename of date and time between two folders
i have to execute through linux script not in qt:confused:
Re: how to compare filename of date and time between two folders
Then the question has no place in a forum dedicated to Newbie Qt Programming questions. You presumably want a bash/Perl/Python/other scripting language script.
You might look here for some clues:
http://superuser.com/questions/71767...ory-using-bash
Re: how to compare filename of date and time between two folders
You are looking for rsync.
And I am moving this thread to a more appropriate sub section.
Cheers,
_
Re: how to compare filename of date and time between two folders
I use Altap Salamander 3.05 File Manager.