How to delete the right files in Android after Preview and organize them in Windows?

Off-topic posts of interest to the "Everything" community.
Post Reply
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

How to delete the right files in Android after Preview and organize them in Windows?

Post by Stamimail »

I wanted to organize my Camera folder in Android.
Maybe it was more wise to do that by organize in Android itself, but I thought it will be more easy for me to organize the files in WIndows, where you can view the files in big screen.
I used WiFi FTP Server for the connection.
I copied the files from:
ftp://192.168.43.1:2221/storage/sdcard0/DCIM/Camera/
To:
D:\Folder
and I Previewed and organized them in Windows (I deleted what I don't need).

Now I have dozen files in D:\Folder, and I want to clean up
ftp://192.168.43.1:2221/storage/sdcard0/DCIM/Camera/
and copy back to it the files in D:\Folder.

I'm asking myself if (instead of clean up and copy back) there is a way to compare the two folders, and select the right files from
ftp://192.168.43.1:2221/storage/sdcard0/DCIM/Camera/
and delete them,
since there may be cases the "copy back" process from PC to Android can take some time, like while copying mp4 files.
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: How to delete the right files in Android after Preview and organize them in Windows?

Post by Stamimail »

I saw it's possible with a Folder/File comparison program that support FTP, like Beyond Compare.
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: How to delete the right files in Android after Preview and organize them in Windows?

Post by NotNull »

Can't test it, but Total Commander can connect to FTP sites ànd has an option to synchronize directories.
So, with a little luck ...


(Personally I would 'solve' this by using FTPuse to mount the ftp site as a drive (Z:) and do a ROBOCOPY.exe /MIR /L D:\somefolder Z:\anotherfolder If all looks OK, remove the /L parameter. But that's because I'm a conmandline junkie .. :))
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: How to delete the right files in Android after Preview and organize them in Windows?

Post by Stamimail »

1. I tested FTPuse. It didn't work in my system for some reason. :(
2. I couldn't understand the command, because you didn't expalined what the switches do.

... found it:
/MIR :: MIRror a directory tree (equivalent to /E plus /PURGE).
/L :: List only - don't copy, timestamp or delete any files.
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: How to delete the right files in Android after Preview and organize them in Windows?

Post by NotNull »

@Stamimail:
just stumbled upon SyncBackFree

The developers call it - very modestly - "the best Windows backup and synchronization program on the planet with great features and benefits at no cost". No experience with it (yet), but I think it will get your job done.
Stamimail
Posts: 1121
Joined: Sat Aug 31, 2013 9:05 pm

Re: How to delete the right files in Android after Preview and organize them in Windows?

Post by Stamimail »

Thank you for sharing.
Post Reply