Search Results

Search: Posts Made By: neha0785
24,048
Posted By Yoda
Another option is to have a file with the list of...
Another option is to have a file with the list of files that you handled and check against it each time you run your script:
for file in ${dir}/*
do
[[ "$file" =~ handled.dat ]] &&...
24,048
Posted By Yoda
Use a for loop to read file names from directory,...
Use a for loop to read file names from directory, email them and move them to another directory once handled.

Here is something to start with:
#!/bin/bash

dir="/path_to_your_directory/"

for...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy