GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Need some help with files (https://gfy.com/showthread.php?t=1059135)

Dirty F 02-27-2012 09:55 AM

Need some help with files
 
Any smart ways to do this?

I have 2 folders:
1 folder with 500 screenshots with random file names.
1 folder 900 videos with random file names. 500 of those screenshots match 500 videos (they have the same filename).
How do i select those and delete the non matching videos.

Just Alex 02-27-2012 10:01 AM

Drop screen caps in same folder and sort all files by file name. Those videos that don't have matching jpg file can go to trashcan.

Dirty F 02-27-2012 10:02 AM

Quote:

Originally Posted by Just Alex (Post 18784353)
Drop screen caps in same folder and sort all files by file name. Those videos that don't have matching jpg file can go to trashcan.

I knew there had to be an easy solution :1orglaugh thanks.

Dirty F 02-27-2012 12:16 PM

Actually it isn't that easy. The non matching files appear everywhere in between the matching files. I still would have to click them one by to delete them.

Any other suggestions?

Dirty F 02-27-2012 12:48 PM

Buuuuump

Dirty F 02-27-2012 01:40 PM

:(:(:(:(

Just Alex 02-27-2012 01:45 PM

Quote:

Originally Posted by Dirty F (Post 18784354)
I knew there had to be an easy solution :1orglaugh thanks.

In unix. But on desktop I can't think of anything else right now.

FlexxAeon 02-27-2012 01:47 PM

JustAlex's way is the only way i can think of doing it by hand. otherwise you need to get some programming power behind it (which would make it 100x easier)

just set it up, grab some snacks and/or a movie and get started it'll be over before you know it

Dirty F 02-27-2012 01:49 PM

Quote:

Originally Posted by FlexxAeon (Post 18785027)
JustAlex's way is the only way i can think of doing it by hand. otherwise you need to get some programming power behind it (which would make it 100x easier)

just set it up, grab some snacks and/or a movie and get started it'll be over before you know it

Well, that 500 files dir was just an example. I have a few 1000 files in several dirs...that's a lot of clicking and searching...

FlexxAeon 02-27-2012 01:56 PM

ok try this....(lol be afraid of breaking).... this is assuming you're on windows

- get a file renaming app that will let you rename extensions
- copy the videos into a new folder, copy the images into a new folder (all in case it fucks up)
- rename all the videos in the new vid folder so they have jpg (or whatever) extension
- copy/paste those renamed files into you new image folder. should prompt you to "overwrite existing", say yes
- sort by date modified, get rid of all the 'older' files that were not overwritten
- re-rename to video extension
- now you have thew vids that had a corresponding image

......i think i said that right....

Dirty F 02-27-2012 02:07 PM

Quote:

Originally Posted by FlexxAeon (Post 18785045)
ok try this....(lol be afraid of breaking).... this is assuming you're on windows

- get a file renaming app that will let you rename extensions
- copy the videos into a new folder, copy the images into a new folder (all in case it fucks up)
- rename all the videos in the new vid folder so they have jpg (or whatever) extension
- copy/paste those renamed files into you new image folder. should prompt you to "overwrite existing", say yes
- sort by date modified, get rid of all the 'older' files that were not overwritten
- re-rename to video extension
- now you have thew vids that had a corresponding image

......i think i said that right....

Great, first thing i'm gonna try tomorrow morning when my head is clear again. I can't think right now :)

I hope it works, thanks.

ottopottomouse 02-27-2012 03:13 PM

Quote:

Originally Posted by FlexxAeon (Post 18785045)
- get a file renaming app that will let you rename extensions

http://www.bulkrenameutility.co.uk/Main_Intro.php

to rename extensions

Extension (11)
Fixed [new extension in box]

highlight the ones you want to change, click rename.

CaptainHowdy 02-27-2012 04:27 PM



All times are GMT -7. The time now is 03:03 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123