• Posts tagged "files"

Blog Archives

Disk Usage: Calculate the disk space usage of a directory

Hi Guys, If you need to know the size of a directory, how many subdirectories or files have this utility class might come very handy. This class can traverse the directory that you indicate response and bring the same size in Megabytes, Gigabytes or Kilobytes as well as the number of files and directories it …
Read more

1,445 total views, 1 views today

File search with timer in Java

Hi guys, Hope you guys are doing great. Today, I am going to show you how to implement a file search with a timer in Java. By ‘timer’ I mean that execution will stop after a certain time provided. You must came across this kind of functionality where the main program is stopped at a …
Read more

2,419 total views, no views today

How to copy a file from one location to another using C Langauge

Hi guys, Today, I am going to share a small utility that I created when I was in college. Yeah! It’s something like old school stuff! But it was fun. Copying a file to one location to another using C Language. It is same as cp shell command. I hope that it will help college …
Read more

310 total views, 2 views today