SFTP to a system:
sftp soauser@optaixdbexe01qa
sftp> put /utl/eaistaging/ebs/outbound/o2c/Oracle_EXE_I552_Orders/Orders53/MAULDIN_51.txt .
sftp> ls /home/soauser
sftp> exit
===================================
Find File System Disk space
df -k /
df -k /home/sdoddi
=====
Find Command:
find . -name '*.DAT'
this will find all the files ending with .DAT starting from the current directory (the DOT (.) indicates the current directory)
If you don't want to do this recursively and search only the current folder,
find . -xdev -name '*.DAT'
For finding from root,
find / -name '*.DAT'
For finding from a specific directory,
find /utl/mdm/logs -name '*.DAT'
For size
find . -size +2 (1 block is 512 kb.. )
for files which got changed in the last 2 days,
find . -mtime -2
find . -name '*.DAT' -mmin -120
files which are not access for last 7 days and which end with .DAT
find . -name '*.DAT' -atime +7
sftp soauser@optaixdbexe01qa
sftp> put /utl/eaistaging/ebs/outbound/o2c/Oracle_EXE_I552_Orders/Orders53/MAULDIN_51.txt .
sftp> ls /home/soauser
sftp> exit
sftp username@hostname
put localpath remotePath
Find File System Disk space
df -k /
df -k /home/sdoddi
=====
Find Command:
find . -name '*.DAT'
this will find all the files ending with .DAT starting from the current directory (the DOT (.) indicates the current directory)
If you don't want to do this recursively and search only the current folder,
find . -xdev -name '*.DAT'
For finding from root,
find / -name '*.DAT'
For finding from a specific directory,
find /utl/mdm/logs -name '*.DAT'
For size
find . -size +2 (1 block is 512 kb.. )
for files which got changed in the last 2 days,
find . -mtime -2
find . -name '*.DAT' -mmin -120
files which are not access for last 7 days and which end with .DAT
find . -name '*.DAT' -atime +7
No comments:
Post a Comment