Search Results

Search: Posts Made By: impish
11,758
Posted By impish
that is my script: #!/bin/bash ...
that is my script:

#!/bin/bash

DIRSIZE=`du -bs $1 | cut -f 1`

echo $DIRSIZE


~$ ls -lR h867879
h867879:

Summary: 8

-rw-r--r-- 1 h867879 hallgato 536 2011-03-23 17:14 h867879.sh
...
11,758
Posted By impish
bash script directory size
hello!

i need to make a script that get a folder name in parameter and i get back the size of the folder include the subfolders! but i dont know how i need to start :S

Example:
a folder...
4,170
Posted By impish
solved thx
solved thx
4,170
Posted By impish
just need to write that for output wed or sun...!...
just need to write that for output wed or sun...!

---------- Post updated at 08:50 AM ---------- Previous update was at 08:49 AM ----------

and yes my input date format is yyyymmdd
4,170
Posted By impish
that's the problem. i dont have any solution how...
that's the problem. i dont have any solution how i need to start. i have write this :
#!/bin/bash/
DATE=$(echo $1 |awk 'BEGIN{FIELDWIDTHS="4 2 2"}{print $1 RS $2 RS $3 }')

YEAR=$(echo $DATE |...
4,170
Posted By impish
Date calculation script
hello!

I need a date calculation script that need to do that:
./date.sh 20090312
and the script need to give me which day is it for example monday friday or what else!
can anyone help me??...
Showing results 1 to 6 of 6

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