Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I want to delete all pictures within my picture folder on my computer that contain a cetain list of numbers (all photos are a number

I want to delete all pictures within my picture folder on my computer that contain a cetain list of numbers (all photos are a number follwed by the extention .jpg. ex: 16.jpg, 27.jpg, 53.jpg) The list of numbers I want to delete are in a .txt file called "non.txt" with the path C:\Users l80962\Pictures. The pictures are in the same folder as the .txt file, and they are all .jpg pictures. For example, I want to keep 68.jpg, but I want to keep 89.jpg. How do I delete the pictures with the number givin in the txt file? I need this done in command line. Thanks!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions