How to check new uploaded files to my websites recently?

David Beroff

Well-known member
Joined
Jun 14, 2016
Messages
1,109
Best answers
0
Ratings
113 1
Points
63
#1
I have 10 websites and having some freelancers working on it, recently I see my server increase disk space quickly, I doubt someone uploaded more files to one of my websites but I don't know how to check. Does any one help me to find out which files are uploaded recently?
 
Joined
Nov 4, 2018
Messages
8
Best answers
0
Ratings
2 1
Points
3
#2
One example is command --find-- something like:
Bash:
find -type f -mtime 30 # last 30 days
. You can use --ls--command...many ways to do it.

Regards
 
Joined
Nov 4, 2018
Messages
8
Best answers
0
Ratings
2 1
Points
3
#4
You can use:
Bash:
find /where/are/yourfiles/ -type f -name '*.png' -mtime +30
This will show all your png files from /where/are/yourfiles/ older than 30 days.

Regards
 
Joined
Apr 21, 2018
Messages
23
Best answers
0
Ratings
11 1
Points
3
#5
Using the ls command, you can only list today’s files in your home folder as follows, where:
  1. -a – list all files including hidden files
  2. -l – enables long listing format
  3. --time-style=FORMAT – shows time in the specified FORMAT
  4. +%D – show/use date in %m/%d/%y format
Bash:
# ls  -al --time-style=+%D | grep 'date +%D'
Source: https://www.tecmint.com/find-recent-modified-files-in-linux/
 
Joined
Nov 4, 2018
Messages
8
Best answers
0
Ratings
2 1
Points
3
#6
The OP said "Does any one help me to find out which files are uploaded recently "he wasn't precised what he wanted.

You can do it but in another type, of course the most used / precised is -find-, but if you want to display let's say the last 25 files uploaded you can do something like:

Bash:
ls -halt | head -n 25
Regards,
 
Joined
Nov 13, 2019
Messages
8
Best answers
0
Ratings
1
Points
3
#7
You mentioned in the other thread that you are using cPanel/WHM.

The easiest way to check this without needing to resort to entering commands into SSH is just to check the individual cPanel accounts and see which account uses the most space.
 
Newer Threads
Replies
1
Views
32
Replies
2
Views
46
Replies
3
Views
46
Latest Threads
Replies
3
Views
46
Replies
2
Views
46
Recommended Threads
Replies
0
Views
1,961
Replies
1
Views
1,003
Replies
4
Views
555
Replies
4
Views
470
Replies
15
Views
2,181

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top