Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4051074
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:08:58+00:00 2026-05-20T14:08:58+00:00

I have a script which I pass a list of files to exclude from

  • 0

I have a script which I pass a list of files to exclude from a spider function.

The problem is I have a list of files I want to include in the spider. Rather than rewrite the function to also allow passing in a list of files I want to include I would like to pull a list of all files in the directory and then remove the list of files I want to include from it.

So my thought was to do a find of the directory and pipe in the list of files I want to include to prune out of the list so I have a list of files to exclude.

This sounds confusing, and there is probably a better way to do it, but this is my first idea.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T14:08:58+00:00Added an answer on May 20, 2026 at 2:08 pm

    Maybe what you need is to sort the list of all files into file.1, sort the list of files to be excluded into file.2, and then use comm -23 file.1 file.2 to generate the files that can be allowed out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a script which hides (display:none) certain divs in the list on page
I have a script which collects an image, link and some text content from
I have really simple problem in my PHP script. There is a function defined
i have written a c program to which i pass in a script like
I have a pagination script which I have posted below, the problem is I
I currently have a script which will pull in image contents from a database
I have script file Get-ProcesWithParam.ps1 as param( $name ) function List-Process($name) { Write-Host Process
I have a function in which I pass a filename followed by several integer
I have a simple script which determines the user's IP address: function GetIp(){ if
I have the following script which I am using in an intranet environment: function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.