I have folder ABC and files in ABC are links.
I want to create the same ABC folder in different path and copy the actual files from source ABC dir.
Can anyone provide command for this?
Thanks in advance.
I am copying 25,000 folders containing hundreds of files each from one hard drive to another on the same Linux server. The destination folder already contains 25,000 different folders full of their own files.
I have a folder in my server which contains some files. These are automated that means everyday we get new files automatically which will overwrite the old ones. So want to take a back up for this data. How can i copy all these files in to a another folder by renaming the files with current date while copying.
ex : i have a folder named folder1 which contains 4 files.
I have a folder which contains a certain number of files which have hard links (in the same folder or somewhere else), and I want to de-hardlink these files, so they become independant, and changes to their contents won't affect any other file (their link count becomes 1).
Below, I give a solution which basically copies each hard link to another location, then move it back in place.