Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-27-2012, 09:55 AM   #1
Dirty F
Too lazy to set a custom title
 
Dirty F's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 59,204
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.
Dirty F is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2012, 10:01 AM   #2
Just Alex
Liv Benson to You, Bitch
 
Just Alex's Avatar
 
Industry Role:
Join Date: Aug 2007
Location: Maryland and WV
Posts: 6,060
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.
__________________
Just Alex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2012, 10:02 AM   #3
Dirty F
Too lazy to set a custom title
 
Dirty F's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 59,204
Quote:
Originally Posted by Just Alex View Post
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 thanks.
Dirty F is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2012, 12:16 PM   #4
Dirty F
Too lazy to set a custom title
 
Dirty F's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 59,204
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2012, 12:48 PM   #5
Dirty F
Too lazy to set a custom title
 
Dirty F's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 59,204
Buuuuump
Dirty F is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2012, 01:40 PM   #6
Dirty F
Too lazy to set a custom title
 
Dirty F's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 59,204
Dirty F is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2012, 01:45 PM   #7
Just Alex
Liv Benson to You, Bitch
 
Just Alex's Avatar
 
Industry Role:
Join Date: Aug 2007
Location: Maryland and WV
Posts: 6,060
Quote:
Originally Posted by Dirty F View Post
I knew there had to be an easy solution thanks.
In unix. But on desktop I can't think of anything else right now.
__________________
Just Alex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2012, 01:47 PM   #8
FlexxAeon
Confirmed User
 
FlexxAeon's Avatar
 
Industry Role:
Join Date: May 2003
Posts: 3,765
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
__________________
flexx [dot] aeon [at] gmail
FlexxAeon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2012, 01:49 PM   #9
Dirty F
Too lazy to set a custom title
 
Dirty F's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 59,204
Quote:
Originally Posted by FlexxAeon View Post
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...
Dirty F is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2012, 01:56 PM   #10
FlexxAeon
Confirmed User
 
FlexxAeon's Avatar
 
Industry Role:
Join Date: May 2003
Posts: 3,765
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....
__________________
flexx [dot] aeon [at] gmail
FlexxAeon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2012, 02:07 PM   #11
Dirty F
Too lazy to set a custom title
 
Dirty F's Avatar
 
Industry Role:
Join Date: Jul 2001
Posts: 59,204
Quote:
Originally Posted by FlexxAeon View Post
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.
Dirty F is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2012, 03:13 PM   #12
ottopottomouse
She is ugly, bad luck.
 
ottopottomouse's Avatar
 
Industry Role:
Join Date: Jan 2010
Posts: 13,177
Quote:
Originally Posted by FlexxAeon View Post
- 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.
__________________
↑ see post ↑
13101
ottopottomouse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2012, 04:27 PM   #13
CaptainHowdy
Too lazy to set a custom title
 
CaptainHowdy's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 93,007
__________________
FLASH SALE INSANITY! deal with a 100% Trusted Seller
Buy Traffic Spots on a High-Quality Network

1 Year or Lifetime — That’s Right, Until the Internet Explodes!
CaptainHowdy is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.