請問cp指令, 要拷貝link的原本資料 - Linux

By Xanthe
at 2009-09-13T20:47
at 2009-09-13T20:47
Table of Contents
你好, 還是不行呢, 我把檔案列出來
2009-09-09 20:19 qsjiscodec.h -> ../src/3rdparty/tools/qsjiscodec.h
2009-09-09 20:19 qmemorymanager_qws.h -> ../src/kernel/qmemorymanager_qws.h
2009-09-09 20:19 qjpunicode.h -> ../src/3rdparty/tools/qjpunicode.h
2009-09-09 20:19 qgfxvoodoodefs_qws.h -> ../src/kernel/qgfxvoodoodefs_qws.h
這是其中幾個檔案. 他好像都是指到 相對路徑下,
我如果拷貝過去的話, 整個資料夾的檔案好像都指不到原檔案了
-a 也試過,不行
※ 引述《coscell (顧人怨)》之銘言:
: -a
: ※ 引述《clanguage (C語言)》之銘言:
: : 請問一下關於 cp 指令的問題
: : 我有一個資料夾, 資料夾下面全部都是 link, 各指到不同資料夾的不同檔案
: : 但是當我用 cp -r * ../otherDir 之後
: : 檔案全部都失效了,
: : 我希望拷貝過去後這些檔案都還能使用, 是 link 或 standard file 都好
: : 有人知道怎麼操作嗎?
: : 謝謝
--
2009-09-09 20:19 qsjiscodec.h -> ../src/3rdparty/tools/qsjiscodec.h
2009-09-09 20:19 qmemorymanager_qws.h -> ../src/kernel/qmemorymanager_qws.h
2009-09-09 20:19 qjpunicode.h -> ../src/3rdparty/tools/qjpunicode.h
2009-09-09 20:19 qgfxvoodoodefs_qws.h -> ../src/kernel/qgfxvoodoodefs_qws.h
這是其中幾個檔案. 他好像都是指到 相對路徑下,
我如果拷貝過去的話, 整個資料夾的檔案好像都指不到原檔案了
-a 也試過,不行
※ 引述《coscell (顧人怨)》之銘言:
: -a
: ※ 引述《clanguage (C語言)》之銘言:
: : 請問一下關於 cp 指令的問題
: : 我有一個資料夾, 資料夾下面全部都是 link, 各指到不同資料夾的不同檔案
: : 但是當我用 cp -r * ../otherDir 之後
: : 檔案全部都失效了,
: : 我希望拷貝過去後這些檔案都還能使用, 是 link 或 standard file 都好
: : 有人知道怎麼操作嗎?
: : 謝謝
--
Tags:
Linux
All Comments

By Lucy
at 2009-09-18T20:10
at 2009-09-18T20:10

By Elma
at 2009-09-22T23:23
at 2009-09-22T23:23
Related Posts
請問apache 要怎麼設定才能達到這樣的功能

By Necoo
at 2009-09-13T04:50
at 2009-09-13T04:50
請問如何在Linux環境下製作dos開機碟

By Lily
at 2009-09-12T17:39
at 2009-09-12T17:39
Re: gcin 注音打不出『泵』??

By Hedwig
at 2009-09-12T14:57
at 2009-09-12T14:57
在vim計算pattern出現次數

By Susan
at 2009-09-12T14:16
at 2009-09-12T14:16
vmware-vdimanage不能將多個vmdk轉換成單個vmdk

By Zenobia
at 2009-09-12T10:16
at 2009-09-12T10:16