Since the year comes after the month and day in the timestamps in these filenames, the sort needs to be a little more complicated (and assuming that the filename prefix does not contains any other _s):
assuming that there is only one filename before the underscore in your list. If there are multiple filename prefixes in your list, you'll need a loop something like:
Note that both of these (and the code suggested by Corona688) assume that list is the name of a file containing one line for each .xlsx file in your share point directory and that that line contains only that file's complete filename.
Thanks for the details . But when try with this it is giving error
" sort: Cannot open list"
Hi all,
If I want to download a whole directory from website on the internet, how can I do that ??? From GUI side and the prompt site????
Please help
Thanks (1 Reply)
Hi All,
I think wget command would not download any directories. But please confirm it. If it downloads directories, please let me know how to do it.
Thank you. (1 Reply)
Oracle procedure create files on UNIX folder on a regular basis. I need to FTP files onto windows server and place the files, based on their name, in the corresponding folders. File name is as follows: ccyymmddfoldernamefile.txt; Folder Name length could be of any size; however, the prefix and... (3 Replies)
This is the file structure:
DESKTOP/Root of Photo Folders/Folder1qweqwasdfsd/*jpg
DESKTOP/Root of Photo Folders/Folder2asdasdasd/*jpg
DESKTOP/Root of Photo Folders/Folder3asdadfhgasdf/*jpg
DESKTOP/Root of Photo Folders/Folder4qwetwdfsdfg/*jpg
DESKTOP/Root of Photo... (4 Replies)
I have a requirement to upload a file to the MS sharepoint site using unix or any other programming language. Does sharepoint support ftp? I heard it doesn't ...is it true...if yes is it different from what regular ftp we use....is there any other programming way out to upload the file to... (1 Reply)
Ok, this is quite weird.
wget -r mysite.com/mylink/
should get all the files recursively from the 'mylink' folder.
The problem is that wget saves an index.html file!
When I open this index.html with my browser I realize that it shows all the files in the current folder (plus an option to move... (3 Replies)
Hi all,
let me explain my requirments
i am having 5 folder with different name for eg) abc , cdf , efd, rtg, ead
each 5 folders contain 15 files
i want to move 10 files to some other folder, remain 5 files should be there in the same folder.
give me some suggestion on this. (6 Replies)
Is it possible to upload a file from unix server to sharepoint server through shell or perl scripting. I have the sharepoint link where it needs to be uploaded.
Could you please share your views on this ? (0 Replies)
Hi, friends,
I am meet a ftp download problem when using cshell and /usr/bin/ftp command.
I want to download recursively a folder dira from FTP server.
dira ---dira1-----dira2------dira3-----dira4
|--file11 |--file21 |--file31 |--file41
|--file12 |--file22 |--file32 ... (1 Reply)