Comments (5)
Have a few questions:
-c
here is already a current behavior of the script, isn't it?- It's by default recursive as of now;
- When you say
exception list
do you mean blacklist file? If so, could you provide your use case where filename is not enough?
from fastdlupdater.
3. When you say
exception list
do you mean blacklist file? If so, could you provide your use case where filename is not enough?
exception list
= blacklist file
this will reduce the error of incorrectly determining the location of the excluded file
from fastdlupdater.
So, to continue with the discussion:
1 - Can you elaborate on your use case here? I could agree on some filtering of blacklist notifications, but not sure about the general messages at start and end of the output and why you would want to have that stripped;
3 - Also would like to hear your use case here, as I don't really imagine a situation where multiple files with the same name + extension would be present in multiple folders (and that is the format you use in the blacklist), altho that's not something that's hard to implement, just don't want to overcomplicate a system if there are no particular use case for it.
from fastdlupdater.
1 - Can you elaborate on your use case here? I could agree on some filtering of blacklist notifications, but not sure about the general messages at start and end of the output and why you would want to have that stripped;
I use commands every 5 minutes and write the results to a log file.
Executable commands:
tf2_1
*/5 * * * * su - root -c 'chown -R -c gs-1:gs-1 /home/gs-1/gameservers/tf2_1' >> /home/gs-1/gameservers/logs/tf2_1_chown_date '+\%Y.\%m.\%d'
.log 2>&1
*/5 * * * * su - root -c 'chmod -R -c 775 /home/gs-1/gameservers/tf2_1' >> /home/gs-1/gameservers/logs/tf2_1_chmod_date '+\%Y.\%m.\%d'
.log 2>&1
*/5 * * * * su - gs-1 -c 'cd /home/gs-1/gameservers/tf2_1/fastdl && python3 ./fastdl.py' >> /home/gs-1/gameservers/logs/tf2_1_fastdl_date '+\%Y.\%m.\%d'
.log 2>&1
When I open the log files, only the result of the work is visible for the chmod & chown command. And in fastdl - spam.
3 - Also would like to hear your use case here, as I don't really imagine a situation where multiple files with the same name + extension would be present in multiple folders (and that is the format you use in the blacklist), altho that's not something that's hard to implement, just don't want to overcomplicate a system if there are no particular use case for it.
for the universality of the solution, we can leave it like this, it works the same
from fastdlupdater.
Alright, added the verbosity level argument (you can see what levels are available via python3 ./fastld.py -h
now). For your use case -v0
argument would provide what you asked for. Lmk if there's anything else needs to be addressed.
from fastdlupdater.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastdlupdater.