Log In

Your email is not your username

Register

If you were a member of the old Bodybuilding.com forums and would like to reuse your previous username, you can request it below. We use your email only for registration and do not store it. For more information, please see our Privacy Policy.

Confirm your email

A registration code was sent to your email. Enter it here.

Welcome

You have successfully setup your account.

Sign in

Quick Navigation Bottom Misc
Forum
» IT Brahs Need some supernoob advice (Poverty reps)
  1. Results 1 to 5 of 5
post 1642108293 07-03-2021, 01:56 PM
-
#1
  1. misheru
  2. Registered User
  1. misheru
  2. Registered User
  3. Join Date: Feb 2015
  4. Location: United States
  5. Age: 32
  6. Posts: 2,356
  7. Rep Power: 8301

IT Brahs Need some supernoob advice (Poverty reps)

I recently started an IT program and have been taking some classes, specifically an intro programming class where I'm learning C from scratch. Nothing crazy, just making useless programs you can run on the terminal to calculate arithmetic chit and the like, and then fuking around with an arduino board. I'm real ecited though and would like to at least attempt to do something useful. There's probably programs that can already do this for me, but I'd like to do it on my own.

So basically let's say I have a directory full of files with an ID as their title. For example something like ROCK-012, or RAP-336. Each of these files has an artist of course. Let's say ROCK-012 has an artist called "Van Halen". I have an excel file with a table. In column 1 I have Van Halen in every single cell, going all the way down. In column 2 I have the "ID" of every song by Van Halen. So column 1 has "Van Halen" and the cell to the right of it has "ROCK-012"; and so on.

I would like to do something very simple, but with automation. I want to code a program, in whatever language is best, that can "Read" the excel file/table and see all the file IDs which are associated with Van Halen. THen I was it to scan a folder on windows explorer for me, and find all the files that have any one of those IDs in their file name (even better if its not case sensitive - or whole case), and then move that file into a folder titled "Van Halen".

How difficult would this be? And what is the best language or CLI or whatever to perform this with? I am probably getting ahead of myself but this is an actual issue I have that I would love to solve on my own y making a script.

Poverty reps for answers!
Embrace the Clown World to Excel in the Clown World - When in Rome do as Romans do

White people being so terrified of being perceived as racist/sexist/*ist that they’ll ruin each other’s lives over the slightest infraction is the greatest entertainment of our time.

If your politics involves anything other than the words "Don't Tread on Me", you're part of the problem - "left" or "right".
post 1642110833 07-03-2021, 02:40 PM
-
#2
  1. misheru
  2. Registered User
  1. misheru
  2. Registered User
  3. Join Date: Feb 2015
  4. Location: United States
  5. Age: 32
  6. Posts: 2,356
  7. Rep Power: 8301
pls
Embrace the Clown World to Excel in the Clown World - When in Rome do as Romans do

White people being so terrified of being perceived as racist/sexist/*ist that they’ll ruin each other’s lives over the slightest infraction is the greatest entertainment of our time.

If your politics involves anything other than the words "Don't Tread on Me", you're part of the problem - "left" or "right".
post 1642124013 07-03-2021, 06:42 PM
-
#3
  1. misheru
  2. Registered User
  1. misheru
  2. Registered User
  3. Join Date: Feb 2015
  4. Location: United States
  5. Age: 32
  6. Posts: 2,356
  7. Rep Power: 8301
fuk u pheggots

Found out the best way to do it is to use VBA code with the File System Object operator
Embrace the Clown World to Excel in the Clown World - When in Rome do as Romans do

White people being so terrified of being perceived as racist/sexist/*ist that they’ll ruin each other’s lives over the slightest infraction is the greatest entertainment of our time.

If your politics involves anything other than the words "Don't Tread on Me", you're part of the problem - "left" or "right".
post 1642124183 07-03-2021, 06:45 PM
-
#4
  1. GayCumLord
  2. Registered User
  1. GayCumLord
  2. Registered User
  3. Join Date: Apr 2021
  4. Age: 56
  5. Posts: 5,331
  6. Rep Power: 29161
I used C# to make a CRUD app using data in excel file using a library. Was slow as **** but worked lol. I would recommend java/c# because they will have the libraries you need
post 1642124573 07-03-2021, 06:53 PM
-
#5
  1. MurbBrah
  2. Registered User
  1. MurbBrah
  2. Registered User
  3. Join Date: Oct 2017
  4. Location: Tampa, Florida, United States
  5. Age: 39
  6. Posts: 13
  7. Rep Power: 0
python with pandas is what I use. I do this with large excel sheets (reading, filtering, and saving million line excel files in ~30 seconds).
Quick Navigation Top Misc
Bookmarks
Digg.com
Digg
del.icio.us
del.icio.us
Stumbleupon.com
StumbleUpon
Google.com
Google
Facebook.com
Facebook
Posting Permissions
  1. You may not post new threads
  2. You may not post replies
  3. You may not post attachments
  4. You may not edit your posts