Search Results

Search: Posts Made By: markus1981
6,262
Posted By markus1981
It is OK, no harm done. We are in...
It is OK, no harm done. We are in miscommunication from start. Bash scripting is not my thing, so I will try another solution for this problem, without bash. Thanks again.
6,262
Posted By markus1981
I copied your commands to Webmin command shell,...
I copied your commands to Webmin command shell, when I tried it, no mistype I think. OS is Ubuntu Server 14.04.
6,262
Posted By markus1981
Output from commands: ls -l feedgen.sh ...
Output from commands:

ls -l feedgen.sh
-rwxr-x--- 1 root root 1529 Feb 27 14:27 feedgen.sh

find $SYSDIR -type f -name '*.pdf' -exec ls -l {} +
no output

> find $RSSDIR -type d -exec ls...
6,262
Posted By markus1981
I need one xml for all pdfs in and under...
I need one xml for all pdfs in and under specified directory.
For description tags I need pdf name, and folder name for two levels up. Info should be sorted by date, showing newest first, and links...
6,262
Posted By markus1981
Files will be located in subfolders inside...
Files will be located in subfolders inside Intranet folder specified in the script. I will upload them manually, daily. I want script to create xml file for rss feed, for new files uploaded. OS is...
6,262
Posted By markus1981
I fixed errors with dos2unix command, but when I...
I fixed errors with dos2unix command, but when I run script, there is no output in rss folder, and there is no errors reported after running the script. I inserted pdf in SYSDIR before running script.
6,262
Posted By markus1981
Done that, it says: tr: extra operand...
Done that, it says: tr: extra operand `feedgen.sh`
only one string may be given when deleting without squeezing repeats.

Result is empty feedgen1.sh file
6,262
Posted By markus1981
I commented out function testing_variables line. ...
I commented out function testing_variables line.
When I run script I get:

syntax error near unexpected token near '$'do\r' '
'for FILES in 'find ${SYSDIR} -type f -name "*.pdf" | xargs ls -t |...
6,262
Posted By markus1981
I am not very familiar with code in this script,...
I am not very familiar with code in this script, I just adapted existing script from script library, changed folder names and file type. Please can you review script and correct errors?
6,262
Posted By markus1981
Bash script monitor directory and subdirectories for new pdfs
I need bash script that monitor folders for new pdf files and create xml file for rss feed with newest files on the list. I have some script, but it reports errors.

#!/bin/bash
...
Showing results 1 to 10 of 10

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