更改副檔名 - Linux

By Olive
at 2011-12-11T04:01
at 2011-12-11T04:01
Table of Contents
這位網友的文章內容似乎是 UTF-8 編碼,
幫忙轉譯如下:
[email protected] (shihyu) writes:
> find . -name "*.txt" | xargs -i mv {} {}.c \;
>
>
> 我要把 某個資料夾下的所有.txt副檔名都改成.c
>
> 但是我上面指令是 ex: 1.txt 變成 1.txt.c
>
> 請問如何拿掉txt 變成 1.c
>
> 謝謝
>
> --
幫忙轉譯如下:
[email protected] (shihyu) writes:
> find . -name "*.txt" | xargs -i mv {} {}.c \;
>
>
> 我要把 某個資料夾下的所有.txt副檔名都改成.c
>
> 但是我上面指令是 ex: 1.txt 變成 1.txt.c
>
> 請問如何拿掉txt 變成 1.c
>
> 謝謝
>
> --
Tags:
Linux
All Comments
Related Posts
Re: AWK 傳結果到SHELL指定變數

By Kama
at 2011-12-11T01:10
at 2011-12-11T01:10
gcin無法在gedit及terminal切換中文

By Ingrid
at 2011-12-10T23:39
at 2011-12-10T23:39
gcin無法在gedit及terminal切換中文

By Daniel
at 2011-12-10T23:37
at 2011-12-10T23:37
gcin無法在gedit及terminal切換中文

By Steve
at 2011-12-10T19:32
at 2011-12-10T19:32
gnome3 拖曳放大 功能失效

By Tristan Cohan
at 2011-12-10T18:00
at 2011-12-10T18:00