摘要: find /root/test -mtime +21 -name "*.*" -exec rm -Rf {} \; /root/test :准备要进行清理的任意目录 最后可以有/ -mtime:标准语句写法 +10:查找10天前的文件,这里用数字代表天数,+30表示查找30天前的文件 ".":希望查 阅读全文 »
posted @ 2022-10-12 14:31 小秦的开发梦 阅读(694) 评论(0) 推荐(0) 编辑
摘要: 于是找到了这个。适配达梦的,发现神通也一样。 我正在尝试使用Spring Data JDBC和Spring Boot连接到Firebird数据库. 我已经使用Spring Tools创建了一个简单的应用程序. Spring Data JDBC无法识别方言.我相信问题在于DialectResolver 阅读全文 »
posted @ 2022-09-08 09:26 小秦的开发梦 阅读(671) 评论(0) 推荐(0) 编辑
摘要: 当前操作为sys用户 1、查询是否有人连着 select username,sid,serial# from v$session where username = '用户名'; 2、断开连着的 alter system kill session 'sid,serial#'; 3、删除 drop us 阅读全文 »
posted @ 2022-09-02 15:00 小秦的开发梦 阅读(101) 评论(0) 推荐(0) 编辑
摘要: exp 用户名/密码@ip:port/实例名 file= D:\news.dmp tables=(表名) --导出一张表 imp 用户/密码@ip:port/orcl file= D:\news.dmp full=y ignore=y; 导入 --导出实例 需要知道oracle 安装在哪里 导出的文 阅读全文 »
posted @ 2022-09-01 10:52 小秦的开发梦 阅读(46) 评论(0) 推荐(0) 编辑
摘要: select listagg (id, ',') WITHIN GROUP (ORDER BY id) id from tableName start with id = xxx connect by prior id = fat_id; 阅读全文 »
posted @ 2022-08-31 18:17 小秦的开发梦 阅读(91) 评论(0) 推荐(0) 编辑
摘要: select * from tableName start with id = xxx connect by prior id = pid; 阅读全文 »
posted @ 2022-08-31 18:15 小秦的开发梦 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 一、数量统计方法 下面分情况介绍下这 3 个命令的使用方法。 1、统计当前目录下文件的个数(不包括目录) ls -l | grep "^-" | wc -l 2、统计当前目录下文件的个数(包括子目录) ls -lR| grep "^-" | wc -l 3、查看某目录下文件夹(目录)的个数(包括子目 阅读全文 »
posted @ 2022-08-30 10:32 小秦的开发梦 阅读(18057) 评论(0) 推荐(2) 编辑
摘要: select TABLE_NAME ,COLUMN_NAME from user_tab_columns where Table_Name IN ( select table_name from user_tables where ( table_name like 'xxx%' OR table_ 阅读全文 »
posted @ 2022-08-26 10:36 小秦的开发梦 阅读(162) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python import os import re import json def get_all_file(dir_path,target_file): ''' 获取dir_path下所有扩展名在target_file内的文件完整路径 :param dir_path 阅读全文 »
posted @ 2022-08-26 10:34 小秦的开发梦 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 删除 :del eg:del C:\Users\65102\Desktop\xjwjj\test2\ctlog.ini 递归删除可以 rd 复制:copy xxx xxx; eg:copy C:\Users\65102\Desktop\xjwjj\ctlog.ini C:\Users\65102\D 阅读全文 »
posted @ 2022-08-26 10:10 小秦的开发梦 阅读(40) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示