Questions tagged [filepattern]

25 questions
1
vote
2 answers

Java: Converting File Pattern to Regular Expression Pattern

I am trying to make a utility function that converts a file pattern to a java regular expression pattern, I need this to make a wildcard matching of files inside the directory. I came up with 4 cases that needs to be consider. Are the case…
Nap
  • 8,096
  • 13
  • 74
  • 117
0
votes
2 answers

I need my Control-M File Watcher job to pick up a file having a specific type of file pattern name

I have files of two file pattern HUB.SG.20220902.01.P and HUB.SG.20220902.001.P in the second file name the .001. will keep on incrementing like the next file will be HUB.SG.20220902.002.P . . . HUB.SG.20220902.100.P and so on but the first file…
0
votes
1 answer

Informatica Cloud (IICS) filename using wildcard

In Data Integration module, I have created a mapping to load data from Csv file to Oracle table. I want to give a file pattern as the file name will have date in it. When I try to provide file pattern in the Source object, it is throwing the below…
Sarath Subramanian
  • 20,027
  • 11
  • 82
  • 86
0
votes
1 answer

Prettier - How to ignore certain file types in CLI file patterns?

I want to exclude only js, jsx, and vue files, I imagine something like: prettier --check --write --ignore-unknown "**/*.{!js,jsx,vue}"
Wenfang Du
  • 8,804
  • 9
  • 59
  • 90
0
votes
2 answers

FFMPEG multiple file pattern not working in single command

I want to add multiple file sequences in single ffmpeg command, below is my code, video is getting created but only first image sequence is getting used, second is getting ignored ffmpeg -y -i input.mp4 -start_number 0000001 -i 1/%07d.png -i…
rathodbhavikk
  • 416
  • 7
  • 20
0
votes
2 answers

PHP Glob function to find Controller files

I try to find all the controller files of a java code repository in php script.(Lets say CustomerController.java for example) Here is the solution i have tried to achieve this goal: $fileScan = glob($currentDirectory . "**/*Controller.java"); But…
metzelder
  • 655
  • 2
  • 15
  • 35
0
votes
1 answer

Mule changing the file name/extension for storing multiple files after splitter

I am trying to split a xml and store it as different files. The files get stored correctly in .dat format if I dont specify anything in the File name/pattern option . But i want the files to be stored as something.xml format like a1.xml ,a2.xml…
user3428616
  • 65
  • 4
  • 14
0
votes
1 answer

Regex with a wildcard text string

I have 2 file patterns VCSTrades_yyyymmdd_OMEGA.csv VCSPositions_yyyymmdd_OMEGA.csv I was hoping to use the 1 regex but i'm having difficulty with anything after the first underscore This is what i thought would…
Glenn Sampson
  • 1,188
  • 3
  • 12
  • 30
0
votes
2 answers

Directory.GetFileSystemInfos(string) returns non-matching files

I'm using the follow command to get a list of FileSystemInfo's IList requestFiles = new List( _RequestDirectory.GetFileSystemInfos(GetSearchPatern())); Get search pattern…
C. Ross
  • 31,137
  • 42
  • 147
  • 238
-1
votes
3 answers

Unix command to list all the files and directories in the current directory whose second character is a digit

My code for this is ls | grep .[0-9]* And the output is showing as d2 d4 di3 dir1 f1 f2 fil4 file3 g2t g3t The expected output is d2 d4 f1 f2 g2t g3t I know i can directly use ls ?[0-9] but then my output order is different f1 f2 g2t …
1
2