Jump to content

search files in dirs and subdirs

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
francis

francis

    Newbie

  • Members
  • Pip
  • 3 posts
Hi everyone :-) I have a problem with some script. I dont know how to start. :-). So, please for your understanding...
This script should search all directory and subdirectory (i.e /etc/) for files and print sum of every file and directory. I dont know how to begin to write this script, so please help me. :-)
thanks.

#2
Excited

Excited

    Newbie

  • Members
  • PipPip
  • 27 posts
15.1. os

Should contain everything you need.

#3
francis

francis

    Newbie

  • Members
  • Pip
  • 3 posts
Okay, thanks for that. But could you or someone else write a simple script? I konw python only few days, and I can't even start to write this script. I have a problem with algorithmic thinking.
If someone write simple script I will be grateful :-)

#4
francis

francis

    Newbie

  • Members
  • Pip
  • 3 posts
sorry for post under post