Hi guys today i have new situation to resolve.
I need to create a script that the first part it's already done but the problem appear when i run
other sart_script inside of it.
i need to check a log file until it stop after run the star script
when the log file stop write, then make a copy file
check again until log file stop write
So i copy again other files.
How can i make this works!
Hi guys today i have new situation to resolve.
I need to create a script that the first part it's already done but the problem appear when i run
other sart_script inside of it.
i need to check a log file until it stop after run the star script
when the log file stop write, then make a copy file
check again until log file stop write
So i copy again other files.
How can i make this works!
When I click a link in Firefox that leads to a file, the MIME type of the file seems to be read to determine which application is more suitable to open the file.
Occasionally servers send out wrong mime type and Firefox defaults to the text editor, without making any further attempts to identify the file type.
I am looking for a way to determine file types in a folder with thousands of files. File names do not reveal much and have no extension but are different types. Specifically I am trying to determine if a file is a sqlite database.
When using 'file' command, it determines type of 2-3 files in a second.
If you need to check the file checksum integrity of your downloaded files, you can easily use the File Checksum Integrity Verifier 2.05. This software is used to calculate or check MD5 or SHA1 cryptographic hashes on a given file. This tool is running using DOS interface on Windows.
HI Guys ,
Using UNIX ,I intend to check with correct file pattern Access_file_Record.YYYYMM in path /tmp
If the file exist in correct format come out from code .
If not found check with different file patterns for same month period YYYYMM ( Like Access_file_Record_YYYYMM.txt or Access_file_Record_.YYYYMM)
Any different pattern file should be renamed to expected file Access_file_Record.YYYYMM
I tried to use this condition (-d $var) in a loop to check how many child directories on the given directory but some folders were detected as a file instead. What happened to the condition that failed to recognized the directory?
Its a tough one and would appreciate any guidance for a script that i am trying to develop....Again I do understand its a complicated script and help would be greatly appreciated....
However it may be impossible, I hope I'm just bad man reader =)
Is there any way to substitute text in variables on several patterns at time or even using back reference?
For example, I have FILE=filename.ext and I want to change it to filename_sometext.ext. But I don't know that file extension is .ext.