Hi all,
I used an unix command to move data. In process forgot to type target file name.
Lets say I had PathA/fileA and had to move to PathB/fileB. I forgot to specify FileB and typed the command (from PathA) as
mv ./fileA PathB
Now I cant find the fileA anywhere. Has anyone got any idea where it could be??
Thanks
Unix file move
Moderators: chulett, rschirm, roy
I was in (/nz/etl/dev/dbx/in)
Code: Select all
mv ./client_ext.lst /nz/etl/crt/dbx/in
Or
1)there may be a chance to be in the PATHA only.probabably as a file name "/nz/etl/crt/dbx/in"
Or
2)as a file "in" in PATHB(/nz/etl/crt/dbx/)
OR
3) as a file "/nz/etl/crt/dbx/" in PATHB
I am not sure..but try to check
1)there may be a chance to be in the PATHA only.probabably as a file name "/nz/etl/crt/dbx/in"
Or
2)as a file "in" in PATHB(/nz/etl/crt/dbx/)
OR
3) as a file "/nz/etl/crt/dbx/" in PATHB
I am not sure..but try to check
thank youDsnew wrote:The fileA will be moved to PathB.
Your file movement would be PathB/fileA rather than PathB/fileB
If you dont give a name to the file during your move it retains the same name as the source file
So your will be in -
/nz/etl/crt/dbx/in with the same file name i.e client_ext.lst