如何重命名名为“."的文件名. [英] How to rename a file name named "."

查看:108
本文介绍了如何重命名名为“."的文件名.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从远程服务器上下载了一个约2gigs的大文件,但错误地给我起了名字. (点).

I have downloaded a large file about 2gigs from remote server but by mistake I gave it name . (dot).

如何使用linux命令对其重命名?

How can I rename it using linux commands ?

推荐答案

我不认为您确实将其命名为..或至少不能成功地做到这一点.

I don't think you really have named it .. Or at least, you cannot have done so successfully.

名称.为当前目录保留.因此,它要么被隐式地赋予了其他名称,要么已被删除/丢弃.

The name . is reserved for the current directory. So either it has been given another name implicitly, or it has been removed/discarded.

尝试

find -size +1536M -ls

查找是否有该大小的文件,如果有,请确认是否可以找到您要查找的文件.

to find if there is any file with this size, and if so, verify if it can be the file you look for.

这篇关于如何重命名名为“."的文件名.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆